     assert Binary.part("foobar", 1..-2) == "ooba"
     assert Binary.part("foobar", -3..-1) == "bar"
   end
-
-  test :bitsyntax_translation do
-    refb = "sample"
-    sec_data = "another"
-    << size(refb) | 1 - :big - :signed - :integer - {:unit, 8},
-       refb | :binary,
-       size(sec_data) | 1 - :big - :signed - :integer - {:unit, 16},
-       sec_data|:binary >>
-  end
-
-  defp is_match?(<<char, _|:binary>>, char) do
-    true
-  end
-
-  defp is_match?(_, _) do
-    false
-  end
-end+end

    assert <<a, b|s>> = "foo"
  end

  test :part do
    assert Binary.part("foo", 1, 2) == "oo"
    assert Binary.part("foo", 0, 3) == "foo"

Code.require_file "../test_helper", __FILE__

defmodule Binary.LiteralTest do
  use ExUnit.Case, async: true

  test :heredoc do
