aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-02-17 21:35:43 +0100
committerEdvard Thörnros <edvard.thornros@gmail.com>2021-02-17 21:35:43 +0100
commit946828d4cd281c073663f3c5b078c1cf5ed1ddde (patch)
tree75fd17816bf374e82adfee94876be768adfc231f /src/lib.rs
parent326b39b027a415e767fcdb9d40585bb68544c7bc (diff)
downloadsylt-946828d4cd281c073663f3c5b078c1cf5ed1ddde.tar.gz
remove test-testcase
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 {