Skip to content

Commit c39bd46

Browse files
committed
rdmd_test.d: Fix test failure
a51571a changed the help text output leading leading to test failures Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
1 parent 17ab82c commit c39bd46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rdmd_test.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@ void runCompilerAgnosticTests(string rdmdApp, string defaultCompiler, string mod
140140
/* Test help string output when no arguments passed. */
141141
auto res = execute([rdmdApp]);
142142
enforce(res.status == 1, res.output);
143-
enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS]... program [PROGRAM OPTIONS]..."));
143+
enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS...] program [PROGRAM OPTIONS...]"));
144144

145145
/* Test --help. */
146146
res = execute([rdmdApp, "--help"]);
147147
enforce(res.status == 0, res.output);
148-
enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS]... program [PROGRAM OPTIONS]..."));
148+
enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS...] program [PROGRAM OPTIONS...]"));
149149

150150
string helpText = res.output;
151151

0 commit comments

Comments
 (0)