mirror of
https://github.com/ergochat/ergo.git
synced 2026-01-10 04:12:06 -08:00
implement draft/webpush (#2205)
This commit is contained in:
parent
efd3764337
commit
36e5451aa5
44 changed files with 2091 additions and 100 deletions
|
|
@ -66,3 +66,15 @@ func BenchmarkTokenLines(b *testing.B) {
|
|||
tl.Lines()
|
||||
}
|
||||
}
|
||||
|
||||
func TestCombinedValue(t *testing.T) {
|
||||
var split = SplitMessage{
|
||||
Split: []MessagePair{
|
||||
{"hi", false},
|
||||
{"hi", false},
|
||||
{" again", true},
|
||||
{"you", false},
|
||||
},
|
||||
}
|
||||
assertEqual(split.CombinedValue(), "hi\nhi again\nyou", t)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue