spec/printer_spec.rb in rouge-lang-0.0.9 vs spec/printer_spec.rb in rouge-lang-0.0.10
- old
+ new
@@ -28,10 +28,12 @@
it { Rouge.print(:true, "").should eq ":true" }
it { Rouge.print(:false, "").should eq ":false" }
end
context "string-symbols" do
- it { Rouge.print(:"!ruby!", "").should eq ":\"!ruby!\"" }
+ it { Rouge.print(:"!ruby!", "").should eq ":!ruby!" }
+ it { Rouge.print(:"lady-bird", "").should eq ":lady-bird" }
+ it { Rouge.print(:"bean sprouts", "").should eq ":\"bean sprouts\"" }
end
end
context "strings" do
context "plain strings" do