Skip to content

Commit

Permalink
Fix prisoners for examples dashboard (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
thpani authored Jul 26, 2023
1 parent a063c9d commit 4d66a86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions examples/.scripts/run-example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ get_main () {
main="--main=properChannelsTests"
elif [[ "$file" == "cosmos/ics20/ics20.qnt" ]] ; then
main="--main=ics20Test"
elif [[ "$file" == "puzzles/prisoners/prisoners.qnt" ]] ; then
main="--main=prisoners3"
elif [[ "$file" == "solidity/ERC20/erc20.qnt" ]] ; then
main="--main=erc20Tests"
elif [[ "$file" == "solidity/SimplePonzi/simplePonzi.qnt" ]] ; then
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ listed without any additional command line arguments.
| [language-features/records.qnt](./language-features/records.qnt) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| [language-features/sets.qnt](./language-features/sets.qnt) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| [language-features/tuples.qnt](./language-features/tuples.qnt) | :white_check_mark: | :white_check_mark: | :x: | :x: |
| [puzzles/prisoners/prisoners.qnt](./puzzles/prisoners/prisoners.qnt) | :white_check_mark: | :white_check_mark: | :x: | :x: |
| [puzzles/prisoners/prisoners.qnt](./puzzles/prisoners/prisoners.qnt) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| [puzzles/river/river.qnt](./puzzles/river/river.qnt) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| [puzzles/tictactoe/tictactoe.qnt](./puzzles/tictactoe/tictactoe.qnt) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| [solidity/Coin/coin.qnt](./solidity/Coin/coin.qnt) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Expand Down
4 changes: 1 addition & 3 deletions examples/puzzles/prisoners/prisoners.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,5 @@ module prisoners {

// An instance of prisoners for the set of size 3
module prisoners3 {
import prisoners(allPrisoners = Set("A", "B", "C"), counter = "A") as P

export P.*
import prisoners(allPrisoners = Set("A", "B", "C"), counter = "A").*
}

0 comments on commit 4d66a86

Please sign in to comment.