Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreakarasho committed May 21, 2024
1 parent 9e9c97d commit e46a9ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Query.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ public void Query_Single()
.Set(new IntComponent())
.Set<NormalTag>();

Assert.ThrowsAny<Exception>(() =>
ctx.World.Query<ValueTuple, (With<FloatComponent>, With<IntComponent>, With<NormalTag>)>().Single()
);
var query = ctx.World.Query<ValueTuple, (With<FloatComponent>, With<IntComponent>, With<NormalTag>)>();

Assert.ThrowsAny<Exception>(() => _ = query.Single());
}

[Fact]
Expand Down

0 comments on commit e46a9ec

Please sign in to comment.