Skip to content

Commit

Permalink
[choice] 終端記号の閉じ忘れのテストケースを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ysakasin committed Dec 12, 2020
1 parent e6e7c64 commit 44c0aa6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test/data/choice.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,30 @@ rands = [
{ sides = 3, value = 1 },
]

[[ test ]]
game_system = "DiceBot"
input = "choice[A,B,C,D) 終端記号が違う"
output = ""
rands = []

[[ test ]]
game_system = "DiceBot"
input = "choice[A,B,C,D 終端記号がない"
output = ""
rands = []

[[ test ]]
game_system = "DiceBot"
input = "choice(A,B,C,D] 終端記号が違う"
output = ""
rands = []

[[ test ]]
game_system = "DiceBot"
input = "choice(A,B,C,D 終端記号がない"
output = ""
rands = []

[[ test ]]
game_system = "DiceBot"
input = "choice{A,B,C,D} 不正な範囲開始文字"
Expand Down

0 comments on commit 44c0aa6

Please sign in to comment.