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

feat(sims): Add sims2 framework and factory methods #21613

Merged
merged 19 commits into from
Sep 16, 2024
Merged
Prev Previous commit
Next Next commit
Fix merge issue
  • Loading branch information
alpe committed Sep 16, 2024
commit 5af301c79d0a6d3b884d0be348c0fd1540cf4b10
8 changes: 4 additions & 4 deletions simsx/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,12 @@ func (f AppOptionsFn) Get(k string) any {
}

func (f AppOptionsFn) GetString(k string) string {
val := f(k)
ret, ok := val.(string)
str, ok := f(k).(string)
if !ok {
panic(fmt.Sprintf("app options value is not a string: %T", val))
return ""
}
return ret

return str
}

// FauxMerkleModeOpt returns a BaseApp option to use a dbStoreAdapter instead of
Expand Down
251 changes: 0 additions & 251 deletions testutils/sims/runner.go

This file was deleted.

Loading