File: fix-unit-tests.patch

package info (click to toggle)
rust-wasm-bindgen-test-macro 0.3.37-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 124 kB
  • sloc: makefile: 2
file content (56 lines) | stat: -rw-r--r-- 2,744 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff --git a/ui-tests/should_panic.stderr b/ui-tests/should_panic.stderr
index d5e0467..1ae0f5e 100644
--- a/ui-tests/should_panic.stderr
+++ b/ui-tests/should_panic.stderr
@@ -57,3 +57,51 @@ error: duplicate `should_panic` attribute
    |
 65 | #[should_panic = "test"]
    |   ^^^^^^^^^^^^
+
+error[E0433]: failed to resolve: could not find `wasm_bindgen_test` in the list of imported crates
+ --> ui-tests/should_panic.rs:3:1
+  |
+3 | #[wasm_bindgen_test]
+  | ^^^^^^^^^^^^^^^^^^^^ could not find `wasm_bindgen_test` in the list of imported crates
+  |
+  = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error[E0433]: failed to resolve: could not find `wasm_bindgen_test` in the list of imported crates
+ --> ui-tests/should_panic.rs:7:1
+  |
+7 | #[wasm_bindgen_test]
+  | ^^^^^^^^^^^^^^^^^^^^ could not find `wasm_bindgen_test` in the list of imported crates
+  |
+  = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error[E0433]: failed to resolve: could not find `wasm_bindgen_test` in the list of imported crates
+  --> ui-tests/should_panic.rs:11:1
+   |
+11 | #[wasm_bindgen_test]
+   | ^^^^^^^^^^^^^^^^^^^^ could not find `wasm_bindgen_test` in the list of imported crates
+   |
+   = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error[E0433]: failed to resolve: could not find `wasm_bindgen_test` in the list of imported crates
+  --> ui-tests/should_panic.rs:15:1
+   |
+15 | #[wasm_bindgen_test]
+   | ^^^^^^^^^^^^^^^^^^^^ could not find `wasm_bindgen_test` in the list of imported crates
+   |
+   = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error[E0433]: failed to resolve: could not find `wasm_bindgen_test` in the list of imported crates
+  --> ui-tests/should_panic.rs:19:1
+   |
+19 | #[wasm_bindgen_test]
+   | ^^^^^^^^^^^^^^^^^^^^ could not find `wasm_bindgen_test` in the list of imported crates
+   |
+   = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error[E0433]: failed to resolve: could not find `wasm_bindgen_test` in the list of imported crates
+  --> ui-tests/should_panic.rs:23:1
+   |
+23 | #[wasm_bindgen_test]
+   | ^^^^^^^^^^^^^^^^^^^^ could not find `wasm_bindgen_test` in the list of imported crates
+   |
+   = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info)