From fe26471dcfd71f80ef19f2d08b6900364a46b883 Mon Sep 17 00:00:00 2001 From: Pauan Date: Tue, 5 May 2020 16:27:42 +0200 Subject: [PATCH] Fixing build error --- tests/all/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/all/build.rs b/tests/all/build.rs index dbcdaaeb..ec4ab90c 100644 --- a/tests/all/build.rs +++ b/tests/all/build.rs @@ -244,7 +244,7 @@ fn build_with_and_without_wasm_bindgen_debug() { .assert() .success(); - let contents = fs::read_to_string(fixture.path.join("pkg/whatever.js")).unwrap(); + let contents = fs::read_to_string(fixture.path.join("pkg/whatever_bg.js")).unwrap(); let contains_move_assertions = contents.contains("throw new Error('Attempt to use a moved value')"); assert_eq!(