assert ID values in test
This commit is contained in:
parent
861338e731
commit
2aa9e4b363
1 changed files with 2 additions and 0 deletions
|
|
@ -1347,6 +1347,7 @@ y -> x.style
|
||||||
if len(g.Objects) != 1 {
|
if len(g.Objects) != 1 {
|
||||||
t.Fatal(g.Objects)
|
t.Fatal(g.Objects)
|
||||||
}
|
}
|
||||||
|
assert.String(t, `"b\nb"`, g.Objects[0].ID)
|
||||||
assert.String(t, `b
|
assert.String(t, `b
|
||||||
b`, g.Objects[0].Attributes.Label.Value)
|
b`, g.Objects[0].Attributes.Label.Value)
|
||||||
},
|
},
|
||||||
|
|
@ -1359,6 +1360,7 @@ b`, g.Objects[0].Attributes.Label.Value)
|
||||||
if len(g.Objects) != 1 {
|
if len(g.Objects) != 1 {
|
||||||
t.Fatal(g.Objects)
|
t.Fatal(g.Objects)
|
||||||
}
|
}
|
||||||
|
assert.String(t, "b\rb", g.Objects[0].ID)
|
||||||
assert.String(t, "b\rb", g.Objects[0].Attributes.Label.Value)
|
assert.String(t, "b\rb", g.Objects[0].Attributes.Label.Value)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue