diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-06-18 19:04:46 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-06-18 19:04:46 +0200 |
commit | 6cac8e3c8b866c71e96ade110b7b1e222dd78751 (patch) | |
tree | 74ef4b5e47170384b5d13a34cd69252cacef1aa6 /test | |
parent | 5ff4a5eee3e76ba05dc80868350bb7b3698113d0 (diff) | |
download | pleroma-6cac8e3c8b866c71e96ade110b7b1e222dd78751.tar.gz |
Downcase tags coming in through the TwAPI.
Diffstat (limited to 'test')
-rw-r--r-- | test/formatter_test.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/formatter_test.exs b/test/formatter_test.exs index 35625f8ff..eb4affab8 100644 --- a/test/formatter_test.exs +++ b/test/formatter_test.exs @@ -16,9 +16,9 @@ defmodule Pleroma.FormatterTest do describe ".parse_tags" do test "parses tags in the text" do - text = "Here's a #test. Maybe these are #working or not. What about #漢字? And #は。" + text = "Here's a #Test. Maybe these are #working or not. What about #漢字? And #は。" expected = [ - {"#test", "test"}, + {"#Test", "test"}, {"#working", "working"}, {"#漢字", "漢字"}, {"#は", "は"} |