Browse Source

Fix wasm tests

David Peter 2 years ago
parent
commit
12e202c0e9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      numbat-wasm/tests/web.rs

+ 2 - 2
numbat-wasm/tests/web.rs

@@ -1,11 +1,11 @@
 #![cfg(target_arch = "wasm32")]
 
-use wasm_bindgen_test::*;
 use numbat_wasm::interpret;
+use wasm_bindgen_test::*;
 
 wasm_bindgen_test_configure!(run_in_browser);
 
 #[wasm_bindgen_test]
 fn basic() {
-    assert_eq!(interpret("2 + 3 * 4"), "14.000000 ");
+    assert_eq!(interpret("2 + 3 * 4"), "14 ");
 }