Pass on crystal-nightly

This commit is contained in:
Vitalii Elenhaupt 2022-03-11 14:15:05 +02:00
parent 528ec460b0
commit 03adc20872
No known key found for this signature in database
GPG key ID: CD0BF17825928BC0
8 changed files with 26 additions and 26 deletions

View file

@ -3,7 +3,7 @@ require "../spec_helper"
module Ameba
private def it_tokenizes(str, expected)
it "tokenizes #{str}" do
([] of Symbol).tap do |token_types|
([] of Crystal::Token::Kind).tap do |token_types|
Tokenizer.new(Source.new str, normalize: false)
.run { |token| token_types << token.type }
.should be_true