mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Pass on crystal-nightly
This commit is contained in:
parent
528ec460b0
commit
03adc20872
8 changed files with 26 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue