X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=test%2Fflake_id_test.exs;h=ca2338041625eb633ddb8cfa181b87d47378af71;hb=7f40b66d5126c10a9c23ebf674d863dfd6ed054e;hp=e480fbdf3f02b5feb469fa3de6fc4e8ea3fd619c;hpb=9d63b27dcd61dff61b77b6df0ef8a4cf8d7c87e3;p=akkoma
diff --git a/test/flake_id_test.exs b/test/flake_id_test.exs
index e480fbdf3..ca2338041 100644
--- a/test/flake_id_test.exs
+++ b/test/flake_id_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2018 Pleroma Authors
+# Copyright © 2017-2019 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.FlakeIdTest do
@@ -11,6 +11,7 @@ defmodule Pleroma.FlakeIdTest do
test "from_string/1" do
fake_flake = <<0::integer-size(64), 42::integer-size(64)>>
assert from_string("42") == fake_flake
+ assert from_string(42) == fake_flake
end
test "zero or -1 is a null flake" do