Commit c9319c2
committed
Updated test to properly evaluate sitemap
The previous test was designed to fail—and expect an exception. That created a false sense of comfort, as the core functionality wasn't actually being tested. This issue is resolved, and the test has been updated to look for `utf-8` encoding, along with a `standalone` attribute. The former is required by sitemap.org's schema. The latter will be written by `XDocument` serialization, assuming we continue to use `XDeclaration`.1 parent a83b844 commit c9319c2
1 file changed
Lines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 129 | | |
135 | | - | |
136 | 130 | | |
137 | 131 | | |
138 | | - | |
139 | | - | |
140 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | | - | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
0 commit comments