From efb8d482fcfc8ffd47dd8509b36fffcba5bd3af4 Mon Sep 17 00:00:00 2001 From: dennmar Date: Thu, 17 Apr 2025 10:14:13 -0700 Subject: [PATCH] fix(curriculum): fix test for step 71 of the music player lesson (#59724) --- .../6555d7e384056dc9c581fadf.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555d7e384056dc9c581fadf.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555d7e384056dc9c581fadf.md index e429daf7016..7a994f0a137 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555d7e384056dc9c581fadf.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-string-and-array-methods-by-building-a-music-player/6555d7e384056dc9c581fadf.md @@ -16,7 +16,7 @@ Now you should see the song title and the artist show up in the display. You should call the `setPlayerDisplay` function inside your `playSong` function. ```js -assert.match(code, /setPlayerDisplay\(\s*\)\s*;?/) +assert.match(__helpers.removeJSComments(code), /highlightCurrentSong\(\s*\)\s*(;|\n+)\s*setPlayerDisplay\(\s*\)\s*;?/) ``` # --seed--