Remove dead code: itest_ignore
@@ -7,6 +7,20 @@ use std::process::Command;
use tempfile::TempDir;
use test_util as util;
+macro_rules! itest(
+ ($name:ident {$( $key:ident: $value:expr,)*}) => {
+ #[test]
+ fn $name() {
+ (util::CheckOutputIntegrationTest {
+ $(
+ $key: $value,
+ )*
+ .. Default::default()
+ }).run()
+ }
+ }
+);
+
#[test]
fn std_tests() {
let dir = TempDir::new().expect("tempdir fail");
@@ -2066,37 +2080,6 @@ fn deno_test_no_color() {
assert!(out.contains("test result: FAILED. 1 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out"));
}
-macro_rules! itest(
- ($name:ident {$( $key:ident: $value:expr,)*}) => {
- #[test]
- fn $name() {
- (util::CheckOutputIntegrationTest {
- $(
- $key: $value,
- )*
- .. Default::default()
- }).run()
- }
- }
-);
-
-// Unfortunately #[ignore] doesn't work with itest!
-#[allow(unused)]
-macro_rules! itest_ignore(
- ($name:ident {$( $key:ident: $value:expr,)*}) => {
- #[ignore]
- #[test]
- fn $name() {
- (util::CheckOutputIntegrationTest {
- $(
- $key: $value,
- )*
- .. Default::default()
- }).run()
- }
- }
-);
-
itest!(_001_hello {
args: "run --reload 001_hello.js",
output: "001_hello.js.out",
