From 51e93e59922961b07b4bc94da256fd7043534d97 Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 25 Oct 2023 15:12:57 -0400 Subject: [PATCH] Clean up --- examples/clue_solver.ds | 5 ----- tests/dust_examples.rs | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/clue_solver.ds b/examples/clue_solver.ds index 0ec4a97..2ad6dc1 100644 --- a/examples/clue_solver.ds +++ b/examples/clue_solver.ds @@ -20,9 +20,6 @@ remove_card = function { } } -(remove_card 'Library') -(output cards) - make_guess = function { if ((length suspects) == 1) && ((length rooms) == 1) @@ -45,5 +42,3 @@ make_guess = function { + '!') } } - -(make_guess 'Library') diff --git a/tests/dust_examples.rs b/tests/dust_examples.rs index b8dffd7..24c5c28 100644 --- a/tests/dust_examples.rs +++ b/tests/dust_examples.rs @@ -4,7 +4,7 @@ use dust_lang::*; #[test] fn clue_solver() { - let file_contents = read_to_string("examples/clue_solver").unwrap(); + let file_contents = read_to_string("examples/clue_solver.ds").unwrap(); evaluate(&file_contents).unwrap(); }