diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /test_plugin/tests/test.js | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
Diffstat (limited to 'test_plugin/tests/test.js')
-rw-r--r-- | test_plugin/tests/test.js | 10 |
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}`, ); } } |