Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Test Generation) Fix #3726 bug leading to stack overflow during test generation #3727

Merged
merged 10 commits into from
May 25, 2023
Prev Previous commit
Next Next commit
Use Assert.Single instead of Assert.Equal
  • Loading branch information
Dargones committed Mar 10, 2023
commit 42594818781243752a8145bb550dffe4852743cb
2 changes: 1 addition & 1 deletion Source/DafnyTestGeneration.Test/Various.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ method getValue() returns (value:int) {
options.TestGenOptions.TargetMethod =
"M.LoopingList.getValue";
var methods = await Main.GetTestMethodsForProgram(program).ToListAsync();
Assert.Equal(1, methods.Count);
Assert.Single(methods);
}

[Fact]
Expand Down