diff --git a/index_test.go b/index_test.go
index 2feca31..73853d7 100644
--- a/index_test.go
+++ b/index_test.go
@@ -62,8 +62,7 @@ func TestLoadIndexXML(t *testing.T) {
}{
{
`
-
-
+
`,
Index{
Repo: Repo{
@@ -72,6 +71,26 @@ func TestLoadIndexXML(t *testing.T) {
},
},
},
+ {
+ `
+
+
+ foo.bar
+ Foo bar
+
+ `,
+ Index{
+ Repo: Repo{
+ Name: "Foo",
+ },
+ Apps: []App{
+ {
+ ID: "foo.bar",
+ Name: "Foo bar",
+ },
+ },
+ },
+ },
}
for _, c := range tests {
r := strings.NewReader(c.in)