Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d7e125a841
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (10 sloc) 0.317 kb
require 'test/unit'
$:.unshift File.expand_path("..")
require 'console'
require 'ol'
class CodeTreeTest < Test::Unit::TestCase
def test_extract_method
assert_equal("ssh foo@foo.org", Console.ssh_line("/foo@foo.org/"))
assert_equal("ssh -p 1234 foo@foo.org", Console.ssh_line("foo@foo.org:1234"))
end
end
Jump to Line
Something went wrong with that request. Please try again.