Skip to content

Commit

Permalink
remove wrong sql test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelb committed Jul 27, 2024
1 parent 893d996 commit 2fd6808
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/interpreters/SQL_original.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,23 +132,3 @@ impl Interpreter for SQL_original {
}
}
}

#[cfg(test)]
mod test_d_original {
use super::*;
use serial_test::serial;

#[test]
#[serial(d_original)]
fn simple_print() {
let mut data = DataHolder::new();
data.current_bloc =
String::from("string yourName = \"a\";\nwritefln(\"Hi %s!\", yourName);");
let mut interpreter = SQL_original::new(data);
let res = interpreter.run();

// should panic if not an Ok()
let string_result = res.unwrap();
assert_eq!(string_result, "Hi a!\n");
}
}

0 comments on commit 2fd6808

Please sign in to comment.