summaryrefslogtreecommitdiff
path: root/section_counters_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'section_counters_test.go')
-rw-r--r--section_counters_test.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/section_counters_test.go b/section_counters_test.go
index 284b3d0..7018522 100644
--- a/section_counters_test.go
+++ b/section_counters_test.go
@@ -22,42 +22,42 @@ func TestSectionCounters(t *testing.T) {
nums: [6]byte{0, 1, 0, 0, 0, 0},
curr: 1,
},
- expString: "1. ",
+ expString: `1. `,
}, {
level: 1,
exp: &sectionCounters{
nums: [6]byte{0, 2, 0, 0, 0, 0},
curr: 1,
},
- expString: "2. ",
+ expString: `2. `,
}, {
level: 2,
exp: &sectionCounters{
nums: [6]byte{0, 2, 1, 0, 0, 0},
curr: 2,
},
- expString: "2.1. ",
+ expString: `2.1. `,
}, {
level: 3,
exp: &sectionCounters{
nums: [6]byte{0, 2, 1, 1, 0, 0},
curr: 3,
},
- expString: "2.1.1. ",
+ expString: `2.1.1. `,
}, {
level: 2,
exp: &sectionCounters{
nums: [6]byte{0, 2, 2, 0, 0, 0},
curr: 2,
},
- expString: "2.2. ",
+ expString: `2.2. `,
}, {
level: 1,
exp: &sectionCounters{
nums: [6]byte{0, 3, 0, 0, 0, 0},
curr: 1,
},
- expString: "3. ",
+ expString: `3. `,
}}
var (
@@ -71,7 +71,7 @@ func TestSectionCounters(t *testing.T) {
for _, c = range cases {
got = sec.set(c.level)
gotString = got.String()
- test.Assert(t, "set", c.exp, got)
- test.Assert(t, "String", c.expString, gotString)
+ test.Assert(t, `set`, c.exp, got)
+ test.Assert(t, `String`, c.expString, gotString)
}
}