Loading static/js/exercises.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ export const pooltest = test("Pooltest Sommersemester 2022", async function () { await this.manualConfirmation() this.verify('if \( ! [ -d /resources/stuff/to] \) && [ -f /resources/stuff/b_file.png ]; then echo "yes"; else echo "no"; fi').hasOutput("yes") this.verify('if ( ! [ -d /resources/stuff/to ] && [ -f /resources/stuff/b_file.png ] ); then echo "yes"; else echo "no"; fi').hasOutput("yes") }) // To add another exercise, simply copy and paste an exercise(...) block from above and adjust it. Loading Loading
static/js/exercises.mjs +1 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,7 @@ export const pooltest = test("Pooltest Sommersemester 2022", async function () { await this.manualConfirmation() this.verify('if \( ! [ -d /resources/stuff/to] \) && [ -f /resources/stuff/b_file.png ]; then echo "yes"; else echo "no"; fi').hasOutput("yes") this.verify('if ( ! [ -d /resources/stuff/to ] && [ -f /resources/stuff/b_file.png ] ); then echo "yes"; else echo "no"; fi').hasOutput("yes") }) // To add another exercise, simply copy and paste an exercise(...) block from above and adjust it. Loading