Skip to content

Commit

Permalink
Syntax added for TestFormatter_FailureContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek committed May 1, 2023
1 parent 4800830 commit aeb3e83
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion formatter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,12 @@ func TestFormatter_FailureContext(t *testing.T) {
},
}

ctx := &AssertionContext{TestName: t.Name(), RequestName: "RequestName", Path: []string{"GET"}, AliasedPath: []string{"ALIASGET"}}
ctx := &AssertionContext{
TestName: t.Name(),
RequestName: "RequestName",
Path: []string{"GET"},
AliasedPath: []string{"ALIASGET"},
}
var fd *FormatData
for _, tc := range cases {
t.Run(tc.name, func(t *testing.T) {
Expand Down

0 comments on commit aeb3e83

Please sign in to comment.