Skip to content

Commit

Permalink
fixed stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddio0141 committed May 21, 2024
1 parent d90c01e commit 456d855
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion src/interpreter/evaluators.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod array;
pub mod class;
pub mod conditional;
pub mod expression;
pub mod function;
Expand Down
32 changes: 0 additions & 32 deletions src/interpreter/evaluators/class.rs

This file was deleted.

9 changes: 0 additions & 9 deletions src/tests/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,6 @@ assert(undefined ;== undefined === false)!
Interpreter::new_eval(code).unwrap();
}

#[test]
fn implicit_string_term_at_op() {
let code = r#"
var var expr = hello + 1!
assert expr === "hello1"!
"#;
Interpreter::new_eval(code).unwrap();
}

#[test]
fn implicit_string_fail() {
let code = r#"
Expand Down
10 changes: 0 additions & 10 deletions src/tests/life_time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,3 @@ assert value === "value"!
"#;
Interpreter::new_eval(input).unwrap();
}

#[test]
fn lines() {
let input = r#"
const const foo = bar!
const const bar<-1> = "baz"!
assert foo === "baz"!
"#;
Interpreter::new_eval(input).unwrap();
}

0 comments on commit 456d855

Please sign in to comment.