diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 24ed8bf..03547f3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ macos-latest, ubuntu-latest, windows-latest ] + os: [ macos-13, ubuntu-latest, windows-latest ] dc: [ dmd-latest, ldc-latest ] name: ${{ matrix.os }}, ${{ matrix.dc }} runs-on: ${{ matrix.os }} diff --git a/rdmd_test.d b/rdmd_test.d index 8815698..626f510 100755 --- a/rdmd_test.d +++ b/rdmd_test.d @@ -140,12 +140,12 @@ void runCompilerAgnosticTests(string rdmdApp, string defaultCompiler, string mod /* Test help string output when no arguments passed. */ auto res = execute([rdmdApp]); enforce(res.status == 1, res.output); - enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS]... program [PROGRAM OPTIONS]...")); + enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS...] program [PROGRAM OPTIONS...]")); /* Test --help. */ res = execute([rdmdApp, "--help"]); enforce(res.status == 0, res.output); - enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS]... program [PROGRAM OPTIONS]...")); + enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS...] program [PROGRAM OPTIONS...]")); string helpText = res.output;