Skip to content

Commit 23550bb

Browse files
committed
prompt fix + modified
1 parent 8140ca2 commit 23550bb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

spec/ui/console_spec.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,11 @@
5151
expect(explanation).to include("Explain: about")
5252
expect(explanation).to include("framework overview")
5353
end
54+
55+
it "uses asrfrb as the console prompt label" do
56+
rendered = console.send(:prompt)
57+
plain = rendered.gsub(/\e\[[\d;]*m/, "")
58+
59+
expect(plain).to eq("asrfrb > ")
60+
end
5461
end

0 commit comments

Comments
 (0)