diff options
author | Andrea Leopardi <an.leopardi@gmail.com> | 2016-07-20 20:16:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-20 20:16:42 +0200 |
commit | ad3c7c6c600e264c3cb00bba43b20b46c7e0e063 (patch) | |
tree | 1b9d917b7655b0fde7c464bdb58e230e9ab1646b /lib/elixir/test/elixir/stream_test.exs | |
parent | f0fa78a4cb55c9779875e18605acb30dbe1c9af2 (diff) | |
download | elixir-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.exs | 6 |
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 |