Merge pull request 'Remove refences to ARM OTP builds in install guide' (#432) from...
[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