diff options
| author | Valentin Anger <syrupthinker@gryphno.de> | 2020-07-08 17:23:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-08 11:23:50 -0400 |
| commit | be7e0f2d490ca480aaa154845c4c5c6dccbd7546 (patch) | |
| tree | b2a2d284c490a2a1cd8ec3b6175ea5d4077cc65e /test_plugin/tests | |
| parent | cbbd9443592f79f6abf9e5019840de4e01ff8580 (diff) | |
BREAKING(core): Remove control slice from ops (#6048)
Diffstat (limited to 'test_plugin/tests')
| -rw-r--r-- | test_plugin/tests/integration_tests.rs | 2 | ||||
| -rw-r--r-- | test_plugin/tests/test.js | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test_plugin/tests/integration_tests.rs b/test_plugin/tests/integration_tests.rs index 53d1c2441..85374c217 100644 --- a/test_plugin/tests/integration_tests.rs +++ b/test_plugin/tests/integration_tests.rs @@ -36,7 +36,7 @@ fn basic() { println!("stderr {}", stderr); } assert!(output.status.success()); - let expected = "Hello from plugin. data: test\nzero_copy[0]: test\nzero_copy[1]: 123\nzero_copy[2]: cba\nPlugin Sync Response: test\nHello from plugin. data: test\nzero_copy[0]: test\nzero_copy[1]: 123\nPlugin Async Response: test\n"; + let expected = "Hello from plugin.\nzero_copy[0]: test\nzero_copy[1]: 123\nzero_copy[2]: cba\nPlugin Sync Response: test\nHello from plugin.\nzero_copy[0]: test\nzero_copy[1]: 123\nPlugin Async Response: test\n"; assert_eq!(stdout, expected); assert_eq!(stderr, ""); } diff --git a/test_plugin/tests/test.js b/test_plugin/tests/test.js index fbe58aeb8..d48394b4b 100644 --- a/test_plugin/tests/test.js +++ b/test_plugin/tests/test.js @@ -33,7 +33,6 @@ function runTestSync() { const response = Deno.core.dispatch( testSync, new Uint8Array([116, 101, 115, 116]), - new Uint8Array([116, 101, 115, 116]), new Uint8Array([49, 50, 51]), new Uint8Array([99, 98, 97]) ); @@ -49,7 +48,6 @@ function runTestAsync() { const response = Deno.core.dispatch( testAsync, new Uint8Array([116, 101, 115, 116]), - new Uint8Array([116, 101, 115, 116]), new Uint8Array([49, 50, 51]) ); @@ -61,7 +59,7 @@ function runTestAsync() { function runTestOpCount() { const start = Deno.metrics(); - Deno.core.dispatch(testSync, new Uint8Array([116, 101, 115, 116])); + Deno.core.dispatch(testSync); const end = Deno.metrics(); |
