Sha256: a758a86d594c2e71ba81b09ef6094df4a14b8fab82d4bae4dacc2d2cfab3089c
Contents?: true
Size: 338 Bytes
Versions: 2
Compression:
Stored size: 338 Bytes
Contents
# encoding: utf-8 require 'mojikun/lexer' require 'minitest/autorun' class TestLexer < MiniTest::Unit::TestCase def test_lexing source = "👍" assert_equal ["👍"], Mojikun::Lexer.new(source).call end def test_lexing source = "👍👍" assert_equal ["👍", "👍"], Mojikun::Lexer.new(source).call end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mojikun-1.0.1 | test/lexer_test.rb |
mojikun-1.0.0 | test/lexer_test.rb |