aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 153b2a7..3fa4cb6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -840,11 +840,6 @@ mod tests {
assert_errs!(run_string("a :: 2\nq :: fn { a = 2 }\n", true, Vec::new()), [ErrorKind::SyntaxError(_, _)]);
}
- #[test]
- fn assign_to_constant_upvalue2() {
- assert_errs!(run_string("a :: 2\nq :: fn { a = 2 }\n", true, Vec::new()), [ErrorKind::InvalidProgram]);
- }
-
macro_rules! test_multiple {
($mod:ident, $( $fn:ident : $prog:literal ),+ $( , )? ) => {
mod $mod {