fix indeterminate test
1 file changed, 4 insertions(+), 1 deletion(-)
changed files
M gomponents_test.go → gomponents_test.go
@@ -376,7 +376,10 @@ items := maps.All(map[string]string{"party": "hat", "super": "hat"}) e := g.El("ul", g.MapIter2(items, func(key string, value string) g.Node { return g.El("li", g.Textf("%v: %v", key, value)) })) - assert.Equal(t, `<ul><li>party: hat</li><li>super: hat</li></ul>`, e) + assert.OneOf(t, []string{ + "<ul><li>party: hat</li><li>super: hat</li></ul>", + "<ul><li>super: hat</li><li>party: hat</li></ul>", + }, e) }) }