./x.py fmt
This commit is contained in:
@@ -58,10 +58,7 @@ fn check_dup_keywords() {
|
|||||||
}
|
}
|
||||||
Symbols {}
|
Symbols {}
|
||||||
};
|
};
|
||||||
test_symbols_macro(
|
test_symbols_macro(input, &["Symbol `crate` is duplicated", "location of previous definition"]);
|
||||||
input,
|
|
||||||
&["Symbol `crate` is duplicated", "location of previous definition"],
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
@@ -73,10 +70,7 @@ fn check_dup_symbol() {
|
|||||||
splat,
|
splat,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
test_symbols_macro(
|
test_symbols_macro(input, &["Symbol `splat` is duplicated", "location of previous definition"]);
|
||||||
input,
|
|
||||||
&["Symbol `splat` is duplicated", "location of previous definition"],
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
@@ -89,10 +83,7 @@ fn check_dup_symbol_and_keyword() {
|
|||||||
splat,
|
splat,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
test_symbols_macro(
|
test_symbols_macro(input, &["Symbol `splat` is duplicated", "location of previous definition"]);
|
||||||
input,
|
|
||||||
&["Symbol `splat` is duplicated", "location of previous definition"],
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
Reference in New Issue
Block a user