summaryrefslogtreecommitdiff
path: root/lib/elixir/test/elixir/stream_test.exs
diff options
context:
space:
mode:
authorAndrea Leopardi <an.leopardi@gmail.com>2016-07-20 20:16:42 +0200
committerGitHub <noreply@github.com>2016-07-20 20:16:42 +0200
commitad3c7c6c600e264c3cb00bba43b20b46c7e0e063 (patch)
tree1b9d917b7655b0fde7c464bdb58e230e9ab1646b /lib/elixir/test/elixir/stream_test.exs
parentf0fa78a4cb55c9779875e18605acb30dbe1c9af2 (diff)
downloadelixir-ad3c7c6c600e264c3cb00bba43b20b46c7e0e063.tar.gz
Deprecate some functions here and there for v1.4 (#5039)
Diffstat (limited to 'lib/elixir/test/elixir/stream_test.exs')
-rw-r--r--lib/elixir/test/elixir/stream_test.exs6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/elixir/test/elixir/stream_test.exs b/lib/elixir/test/elixir/stream_test.exs
index 7d18be9ef..38cdf8fdb 100644
--- a/lib/elixir/test/elixir/stream_test.exs
+++ b/lib/elixir/test/elixir/stream_test.exs
@@ -866,11 +866,7 @@ defmodule StreamTest do
end
test "uniq/1 & uniq/2" do
- assert Stream.uniq([1, 2, 3, 2, 1]) |> Enum.to_list ==
- [1, 2, 3]
-
- assert Stream.uniq([{1, :x}, {2, :y}, {1, :z}], fn {x, _} -> x end) |> Enum.to_list ==
- [{1, :x}, {2, :y}]
+ assert Stream.uniq([1, 2, 3, 2, 1]) |> Enum.to_list == [1, 2, 3]
end
test "uniq_by/2" do