Skip to content

Commit 7f8ff9d

Browse files
committed
make the test case more obvious
1 parent 26d5060 commit 7f8ff9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mage/args_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func TestArgs(t *testing.T) {
1212
Dir: "./testdata/args",
1313
Stderr: stderr,
1414
Stdout: stdout,
15-
Args: []string{"status", "say", "hi", "bob", "count", "5", "status", "wait", "5ms", "cough", "false", "doubleIt", "3.14"},
15+
Args: []string{"status", "say", "hi", "bob", "count", "5", "status", "wait", "5ms", "cough", "false", "doubleIt", "3.1"},
1616
}
1717
code := Invoke(inv)
1818
if code != 0 {
@@ -26,7 +26,7 @@ saying hi bob
2626
status
2727
waiting 5ms
2828
not coughing
29-
3.1 * 2 = 6.3
29+
3.1 * 2 = 6.2
3030
`
3131
if actual != expected {
3232
t.Fatalf("output is not expected:\n%q", actual)

0 commit comments

Comments
 (0)