From 9cfe31a8e983a32eeed6423692380e676b799fe7 Mon Sep 17 00:00:00 2001 From: Saul Shanabrook Date: Tue, 11 Jul 2023 17:53:24 -0400 Subject: [PATCH] Use local test files This changes the tests to use the local files instead of those in the extraction gym repo. I made this change so I could test the addition of classes. Feel free to disregard if you like. --- tests/round_trip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/round_trip.rs b/tests/round_trip.rs index 356994e..58df331 100644 --- a/tests/round_trip.rs +++ b/tests/round_trip.rs @@ -3,7 +3,7 @@ use egraph_serialize::*; #[test] fn test_round_trip() { let mut n_tested = 0; - let pattern = "../extraction-gym/data/**/*.json"; + let pattern = "tests/*.json"; for entry in glob::glob(pattern).expect("Failed to read glob pattern") { let entry = entry.unwrap(); println!("Testing {:?}", entry);