summaryrefslogtreecommitdiff
path: root/test_plugin/tests
diff options
context:
space:
mode:
Diffstat (limited to 'test_plugin/tests')
-rw-r--r--test_plugin/tests/test.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/test_plugin/tests/test.js b/test_plugin/tests/test.js
index d48394b4b..2c1913f92 100644
--- a/test_plugin/tests/test.js
+++ b/test_plugin/tests/test.js
@@ -11,7 +11,9 @@ if (Deno.build.os === "darwin") {
filenameSuffix = ".dylib";
}
-const filename = `../target/${Deno.args[0]}/${filenamePrefix}${filenameBase}${filenameSuffix}`;
+const filename = `../target/${
+ Deno.args[0]
+}/${filenamePrefix}${filenameBase}${filenameSuffix}`;
// This will be checked against open resources after Plugin.close()
// in runTestClose() below.
@@ -34,7 +36,7 @@ function runTestSync() {
testSync,
new Uint8Array([116, 101, 115, 116]),
new Uint8Array([49, 50, 51]),
- new Uint8Array([99, 98, 97])
+ new Uint8Array([99, 98, 97]),
);
console.log(`Plugin Sync Response: ${textDecoder.decode(response)}`);
@@ -48,7 +50,7 @@ function runTestAsync() {
const response = Deno.core.dispatch(
testAsync,
new Uint8Array([116, 101, 115, 116]),
- new Uint8Array([49, 50, 51])
+ new Uint8Array([49, 50, 51]),
);
if (response != null || response != undefined) {
@@ -84,7 +86,7 @@ function runTestPluginClose() {
throw new Error(
`Difference in open resources before openPlugin and after Plugin.close():
Before: ${preStr}
-After: ${postStr}`
+After: ${postStr}`,
);
}
}