From cde4dbb35132848ffece59ef9cfaccff32347124 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 14 Jul 2020 15:24:17 -0400 Subject: Use dprint for internal formatting (#6682) --- test_plugin/tests/test.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test_plugin/tests') 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}`, ); } } -- cgit v1.2.3