Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Jan 5, 2024
1 parent b353290 commit 220b188
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Src/GBX.NET/ChunkSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ internal ChunkSet() : base(new ChunkIdComparer()) { }

public IChunk Create(uint chunkId)
{
var chunk = ClassManager.NewChunk(chunkId) ?? throw new Exception($"Chunk {chunkId:X8} is not supported.");
var chunk = ClassManager.NewChunk(chunkId) ?? throw new Exception($"Chunk 0x{chunkId:X8} is not supported.");

Add(chunk);

Expand Down
2 changes: 1 addition & 1 deletion Src/GBX.NET/HeaderChunkSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ internal HeaderChunkSet() : base(new ChunkIdComparer()) { }

public IHeaderChunk Create(uint chunkId)
{
var chunk = ClassManager.NewHeaderChunk(chunkId) ?? throw new Exception($"Header chunk {chunkId:X8} is not supported.");
var chunk = ClassManager.NewHeaderChunk(chunkId) ?? throw new Exception($"Header chunk 0x{chunkId:X8} is not supported.");

Add(chunk);

Expand Down
2 changes: 1 addition & 1 deletion Tests/GBX.NET.Tests/Unit/IdentTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void ToString_ReturnsCorrect()
var actual = i.ToString();

// Assert
Assert.Equal(expected: "(\"Test\", Canyon, \"Hell\")", actual);
Assert.Equal(expected: "(\"Test\", \"Canyon\", \"Hell\")", actual);
}

[Fact]
Expand Down

0 comments on commit 220b188

Please sign in to comment.