Skip to content

Commit 5e4022f

Browse files
authored
Un-ignore new tests with Rust (#935)
Due to the way Rust is tested name overlaps between tests doesn't work, so rename some tests to ensure they all have unique names.
1 parent 3452d78 commit 5e4022f

File tree

6 files changed

+8
-16
lines changed

6 files changed

+8
-16
lines changed

crates/rust/tests/codegen.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ mod codegen_tests {
55
macro_rules! codegen_test {
66
(wasi_cli $name:tt $test:tt) => {};
77
(wasi_http $name:tt $test:tt) => {};
8-
(issue929 $name:tt $test:tt) => {};
9-
(issue929_no_import $name:tt $test:tt) => {};
10-
(issue929_no_export $name:tt $test:tt) => {};
11-
(issue929_only_methods $name:tt $test:tt) => {};
128
($id:ident $name:tt $test:tt) => {
139
mod $id {
1410
wit_bindgen::generate!({

crates/rust/tests/codegen_no_std.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ mod codegen_tests {
1616
macro_rules! codegen_test {
1717
(wasi_cli $name:tt $test:tt) => {};
1818
(wasi_http $name:tt $test:tt) => {};
19-
(issue929 $name:tt $test:tt) => {};
20-
(issue929_no_import $name:tt $test:tt) => {};
21-
(issue929_no_export $name:tt $test:tt) => {};
22-
(issue929_only_methods $name:tt $test:tt) => {};
2319
($id:ident $name:tt $test:tt) => {
2420
mod $id {
2521
wit_bindgen::generate!({

tests/codegen/issue929-no-export.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package foo:bar;
1+
package foo:bar1;
22

33
interface f {
44
resource fd;
@@ -11,4 +11,4 @@ interface utils {
1111

1212
world test {
1313
export utils;
14-
}
14+
}

tests/codegen/issue929-no-import.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package foo:bar;
1+
package foo:bar2;
22

33
interface f {
44
resource fd;
@@ -12,4 +12,4 @@ interface utils {
1212
world test {
1313
export f;
1414
export utils;
15-
}
15+
}

tests/codegen/issue929-only-methods.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package foo:bar;
1+
package foo:bar3;
22

33
interface f {
44
resource fd {
@@ -16,4 +16,4 @@ world test {
1616
import f;
1717
export f;
1818
export utils;
19-
}
19+
}

tests/codegen/issue929.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package foo:bar;
1+
package foo:bar4;
22

33
interface f {
44
resource fd;
@@ -13,4 +13,4 @@ world test {
1313
import f;
1414
export f;
1515
export utils;
16-
}
16+
}

0 commit comments

Comments
 (0)