mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 00:43:26 +08:00
修改标点错误 (#494)
This commit is contained in:
@@ -12,9 +12,9 @@ var tests = []struct{ // Test table
|
||||
out string
|
||||
|
||||
}{
|
||||
{“in1”, “exp1”},
|
||||
{“in2”, “exp2”},
|
||||
{“in3”, “exp3”},
|
||||
{"in1", "exp1"},
|
||||
{"in2", "exp2"},
|
||||
{"in3", "exp3"},
|
||||
...
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ func TestFunction(t *testing.T) {
|
||||
for i, tt := range tests {
|
||||
s := FuncToBeTested(tt.in)
|
||||
if s != tt.out {
|
||||
t.Errorf(“%d. %q => %q, wanted: %q”, i, tt.in, s, tt.out)
|
||||
t.Errorf("%d. %q => %q, wanted: %q", i, tt.in, s, tt.out)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user