# File lib/facet/string/first.rb, line 48
    def test_first
      assert_equal( "Hel", "Hello World!".first(3) )
      assert_equal( "Hel", "Hello World!".first(3, //) )
      assert_equal( "Hello", "Hello World!".first(1, nil) )
      assert_equal( "Hello", "Hello\nWorld!".first(1, "\n") )
      assert_equal( "Hello\nWorld!", "Hello\nWorld!".first(2, "\n") )
    end