Skip to content

Commit

Permalink
fix: MutableMap drop SelectOpt
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Chaturvedi committed Nov 14, 2024
1 parent 7af1ae1 commit 7f612b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/MutableMap/MutableMapExamples.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ module {:options "-functionSyntax:4"} MutableMapExamples {
print m.Select("testkey2"), "\n";

m.Remove("testkey");
AssertAndExpect(m.SelectOpt("testkey").None?);
AssertAndExpect(m.SelectOpt("testkey2").Some? && m.SelectOpt("testkey2").value == "testvalue2");
AssertAndExpect(m.Keys() == {"testkey2"});
AssertAndExpect(m.Values() == {"testvalue2"});
AssertAndExpect(m.Items() == {("testkey2", "testvalue2")});
Expand Down

0 comments on commit 7f612b0

Please sign in to comment.