style: replace em and en dashes across sources
This commit is contained in:
@@ -19,7 +19,7 @@ func TestFuzzResultString(t *testing.T) {
|
||||
t.Run("mismatch", func(t *testing.T) {
|
||||
r := FuzzResult{Func: "mul", Iterations: 100, Matches: 95, Mismatches: 5, FirstFail: "iter 23"}
|
||||
s := r.String()
|
||||
if s != "mul: 95/100 match, 5 MISMATCH — iter 23" {
|
||||
if s != "mul: 95/100 match, 5 MISMATCH: iter 23" {
|
||||
t.Errorf("String() = %q", s)
|
||||
}
|
||||
})
|
||||
@@ -27,7 +27,7 @@ func TestFuzzResultString(t *testing.T) {
|
||||
t.Run("crash", func(t *testing.T) {
|
||||
r := FuzzResult{Func: "dec", Iterations: 100, Matches: 99, Mismatches: 1, FirstFail: "SIGSEGV", CrashInput: []byte{0x01, 0x02}}
|
||||
s := r.String()
|
||||
if s != "dec: 99/100 match, 1 MISMATCH — SIGSEGV\n input: 0102" {
|
||||
if s != "dec: 99/100 match, 1 MISMATCH: SIGSEGV\n input: 0102" {
|
||||
t.Errorf("String() = %q", s)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user