fixed test for elixir 1.7.4
authorMaksim <parallel588@gmail.com>
Thu, 25 Jul 2019 03:43:13 +0000 (03:43 +0000)
committerkaniini <ariadne@dereferenced.org>
Thu, 25 Jul 2019 03:43:13 +0000 (03:43 +0000)
test/upload/filter/dedupe_test.exs

index fddd594dc903fdf1cf71a5ef2bbbb615d2c3e26c..3de94dc207a928d8367f3d3f43badb747ecc222c 100644 (file)
@@ -25,7 +25,7 @@ defmodule Pleroma.Upload.Filter.DedupeTest do
 
     assert {
              :ok,
-             %Pleroma.Upload{id: @shasum, path: "#{@shasum}.jpg"}
+             %Pleroma.Upload{id: @shasum, path: @shasum <> ".jpg"}
            } = Dedupe.filter(upload)
   end
 end