Skip to content

Commit

Permalink
Fixes badge column count unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-scott-78 committed Feb 28, 2022
1 parent 92078bb commit 2f0eb4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Soddi.Tests/StreamToDataReaderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void Can_parse_schema()
using var stream = File.OpenRead("test-files/eosio.meta.stackexchange.com/Badges.xml");
using var dr = stream.AsDataReader("badges.xml");

dr.FieldCount.ShouldBe(4);
dr.FieldCount.ShouldBe(6);

var id = dr.GetOrdinal("Id");
var userId = dr.GetOrdinal("UserId");
Expand Down Expand Up @@ -69,4 +69,4 @@ public void Can_read_data()
int.Parse((string)dr.GetValue(idOrdinal)).ShouldBeGreaterThanOrEqualTo(0);
}
}
}
}

0 comments on commit 2f0eb4a

Please sign in to comment.