Commit 42b679e3 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add missing confirmation awaits

parent a0147a94
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -117,12 +117,16 @@ export const practice = test("Linux-Übungsmodus", function() {
    this.exercise("Datei löschen", async function () {
        this.describe(`Lösche die Datei "saetze".`)

        await this.manualConfirmation()

        this.verify("if [[ ! -e saetze ]]; then echo yes; else echo no; fi").hasOutput("yes")
    })

    this.exercise("Freies Spiel", async function () {
        this.describe(`Wir haben leider keine weiteren Übungsaufgaben mehr vorbereitet, aber fühle dich frei, noch weiter herumzuspielen (zum Beispiel mit Dateirechten).`)

        await this.manualConfirmation()

        this.verify("echo if you say so").hasOutput("if you say so")
    })
})