mirror of
https://github.com/dlang/tools.git
synced 2025-04-27 13:40:22 +03:00
Compare commits
3 commits
master
...
v2.111.0-b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d3a900e520 | ||
![]() |
80d2a80229 | ||
![]() |
d63c63b9c3 |
2 changed files with 3 additions and 3 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue