projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
paginate follow requests (#460)
[akkoma]
/
test
/
pleroma
/
iso639_test.exs
1
defmodule Pleroma.ISO639Test do
2
use Pleroma.DataCase
3
4
describe "ISO639 validation" do
5
test "should validate a language" do
6
assert Pleroma.ISO639.valid_alpha2?("en")
7
assert Pleroma.ISO639.valid_alpha2?("ja")
8
refute Pleroma.ISO639.valid_alpha2?("xx")
9
end
10
end
11
end