aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
-rw-r--r--src/main.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 336a7e2..62a2a81 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -331,8 +331,8 @@ a() <=> 4
more_types: "a: (str, bool, int) = (\"abc\", true, 1)",
);
- test_file!(scoping, "tests/scoping.tdy");
- test_file!(for_, "tests/for.tdy");
+ test_file!(scoping, "progs/tests/scoping.sy");
+ test_file!(for_, "progs/tests/for.sy");
test_multiple!(
op_assign,
diff --git a/src/main.rs b/src/main.rs
index 37ae256..bc68d40 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -9,7 +9,7 @@ struct Args {
fn main() {
let args = parse_args();
- let file = args.file.unwrap_or_else(|| Path::new("tests/simple.tdy").to_owned());
+ let file = args.file.unwrap_or_else(|| Path::new("progs/tests/simple.sy").to_owned());
let errs = match run_file(&file, args.print, vec![(String::from("extern_test"), extern_test)]) {
Err(it) => it,
_ => return,