summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabKlein <gabriel.klein.fr@gmail.com>2013-03-28 13:28:42 -0700
committerGabKlein <gabriel.klein.fr@gmail.com>2013-03-28 13:28:42 -0700
commite61e91323a12de5b96929db4465177decae7edb6 (patch)
treea47c1e6dd759c7b23213cddc24cfeb6bbd288153
parentae2b3db59577163a29e602369d33a24ffe53d98d (diff)
downloadnet-ssh-e61e91323a12de5b96929db4465177decae7edb6.tar.gz
Update wildcard substition test
-rw-r--r--test/test_config.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_config.rb b/test/test_config.rb
index 421e088..cbd48ab 100644
--- a/test/test_config.rb
+++ b/test/test_config.rb
@@ -113,9 +113,10 @@ class TestConfig < Test::Unit::TestCase
end
def test_load_wildcar_with_substitutes
- config = Net::SSH::Config.load(config(:substitutes), "*")
+ config = Net::SSH::Config.load(config(:substitutes), "toto")
net_ssh = Net::SSH::Config.translate(config)
- assert_equal '*', net_ssh[:host_name]
+ puts net_ssh
+ assert_equal 'toto', net_ssh[:host_name]
end
def test_load_sufix_with_substitutes