Skip to content

Commit

Permalink
Replacements in golden file test
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-quintero committed Oct 17, 2024
1 parent 8502ff1 commit edf7bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .nextmv/golden/python-nextroute/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ func TestGolden(t *testing.T) {
"-solve_startsolutions", "1",
},
TransientFields: []golden.TransientField{
{Key: "$.version.sdk", Replacement: golden.StableVersion},
{Key: "$.version.nextroute", Replacement: golden.StableVersion},
{Key: "$.statistics.result.duration", Replacement: golden.StableFloat},
{Key: "$.statistics.run.duration", Replacement: golden.StableFloat},
{Key: "$.options.output", Replacement: "output.json"},
{Key: "$.options.input", Replacement: "input.json"},
},
Thresholds: golden.Tresholds{
Float: 0.01,
Expand Down

0 comments on commit edf7bbd

Please sign in to comment.