summaryrefslogtreecommitdiff
path: root/test_plugin/tests/integration_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test_plugin/tests/integration_tests.rs')
-rw-r--r--test_plugin/tests/integration_tests.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/test_plugin/tests/integration_tests.rs b/test_plugin/tests/integration_tests.rs
index 04a032635..fc18d79d9 100644
--- a/test_plugin/tests/integration_tests.rs
+++ b/test_plugin/tests/integration_tests.rs
@@ -1,3 +1,7 @@
+// To run this test manually:
+// cd test_plugin
+// ../target/debug/deno --allow-plugin tests/test.js debug
+
// TODO(ry) Re-enable this test on windows. It is flaky for an unknown reason.
#![cfg(not(windows))]
@@ -38,11 +42,7 @@ fn basic() {
println!("stderr {}", stderr);
}
assert!(output.status.success());
- let expected = if cfg!(target_os = "windows") {
- "Hello from plugin. data: test | zero_copy: test\nPlugin Sync Response: test\r\nHello from plugin. data: test | zero_copy: test\nPlugin Async Response: test\r\n"
- } else {
- "Hello from plugin. data: test | zero_copy: test\nPlugin Sync Response: test\nHello from plugin. data: test | zero_copy: test\nPlugin Async Response: test\n"
- };
+ let expected = "Hello from plugin. data: test | zero_copy: test\nPlugin Sync Response: test\nHello from plugin. data: test | zero_copy: test\nPlugin Async Response: test\n";
assert_eq!(stdout, expected);
assert_eq!(stderr, "");
}