Skip to content

Commit

Permalink
Adding test for flow with pattern missing the required repeat count
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrait committed Oct 9, 2019
1 parent 3b48c16 commit a8c3eb9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/fixtures/invalid/flow_missing_repeat_count.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Invalid song, since the number of repeats for pattern Verse is missing
Song:
Tempo: 100
Flow:
- Verse:

Verse:
- test/sounds/bass_mono_8.wav: X...X...X...XX..X...X...XX..X...
1 change: 1 addition & 0 deletions test/song_parser_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class SongParserTest < Minitest::Test
:flow_negative_repeat_count,
:flow_non_string_repeat_count,
:flow_repeat_count_is_missing_prefix,
:flow_missing_repeat_count,
:bad_tempo,
:bad_swing_rate_1,
:bad_swing_rate_2,
Expand Down

0 comments on commit a8c3eb9

Please sign in to comment.