shard-spectator/test.cr

9 lines
184 B
Crystal

require "./src/spectator"
Spectator.describe String do
let(x) { 7 }
it "a" { expect(x).to(eq(nil)) }
it "b" { expect(x.odd?).to(be_true) }
it "c" { expect(x).to(eq(42)) }
end