Skip to content

Commit dc9224e

Browse files
committed
[hermes] Update some integration tests
Delete some obsolete tests. Mark some tests as `FIXME`. gherrit-pr-id: Gftcay6e46fu54jc6ytsszqb3b4rah7dj
1 parent 6a0cdf5 commit dc9224e

17 files changed

Lines changed: 47 additions & 157 deletions

File tree

tools/hermes/tests/fixtures/design_doc/expected.stderr

Lines changed: 0 additions & 16 deletions
This file was deleted.

tools/hermes/tests/fixtures/design_doc/hermes.toml

Lines changed: 0 additions & 9 deletions
This file was deleted.

tools/hermes/tests/fixtures/design_doc/source/Cargo.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

tools/hermes/tests/fixtures/design_doc/source/src/lib.rs

Lines changed: 0 additions & 73 deletions
This file was deleted.

tools/hermes/tests/fixtures/edge_cases_naming/test_1_1_lean_keywords_fns/hermes.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ Behavior: Asserts that `fn theorem()`, `fn match()`, etc. are strictly escaped i
44
"""
55

66
[test]
7-
expected_status = "failure"
7+
# FIXME(#3089): This should succeed
8+
expected_status = "known_bug"
89
args = ["verify", "--allow-sorry"]

tools/hermes/tests/fixtures/edge_cases_types/test_2_3_zst/hermes.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ Behavior: Utilizes explicit zero-sized structs and the common `()` unit type to
44
"""
55

66
[test]
7-
expected_status = "failure"
8-
args = ["verify", "--allow-sorry"]
7+
# FIXME(#3089): This should succeed.
8+
expected_status = "known_bug"
9+
args = ["verify", "--allow-sorry", "--unsound-allow-is-valid"]
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
1+
/// ```hermes
2+
/// isValid self := True
3+
/// ```
24
pub struct Empty {}
35

6+
/// ```hermes
7+
/// isValid self := True
8+
/// ```
49
pub struct WrapUnit {
510
pub f: (),
611
}
712

8-
/// ```lean, hermes
9-
/// proof (h_progress):
10-
/// sorry
11-
/// proof context:
12-
/// have h_foo : True := True.intro
13+
/// ```hermes
14+
/// ensures: True
1315
/// ```
1416
pub fn unit_arg(_: ()) {}
1517

18+
/// ```hermes
19+
/// ensures: True
20+
/// ```
1621
pub fn unit_ret() -> () {}

tools/hermes/tests/fixtures/edge_cases_types/test_2_9_generic_bounds/hermes.toml

Lines changed: 0 additions & 8 deletions
This file was deleted.

tools/hermes/tests/fixtures/edge_cases_types/test_2_9_generic_bounds/source/Cargo.toml

Lines changed: 0 additions & 9 deletions
This file was deleted.

tools/hermes/tests/fixtures/edge_cases_types/test_2_9_generic_bounds/source/src/lib.rs

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)