Skip to content

Commit

Permalink
Fix-up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
foxcpp committed Jan 29, 2024
1 parent e4a460e commit b90cd97
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions interp/load_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if envelope :is "from" "[email protected]" {
`, []Cmd{
CmdIf{
Test: EnvelopeTest{
Comparator: ComparatorOctet,
Comparator: ComparatorASCIICaseMap,
Match: MatchIs,
AddressPart: All,
Field: []string{"from"},
Expand All @@ -84,19 +84,19 @@ removeflag "flag2";
`, []Cmd{
CmdFileInto{
Mailbox: "hell",
Flags: &Flags{"flag1", "flag2"},
Flags: Flags{"flag1", "flag2"},
},
CmdKeep{
Flags: &Flags{"flag1", "flag2"},
Flags: Flags{"flag1", "flag2"},
},
CmdSetFlag{
Flags: &Flags{"flag1", "flag2"},
Flags: Flags{"flag1", "flag2"},
},
CmdAddFlag{
Flags: &Flags{"flag1", "flag2"},
Flags: Flags{"flag1", "flag2"},
},
CmdRemoveFlag{
Flags: &Flags{"flag2"},
Flags: Flags{"flag2"},
},
})
}

0 comments on commit b90cd97

Please sign in to comment.