diff options
| author | GabKlein <gabriel.klein.fr@gmail.com> | 2013-03-28 13:28:42 -0700 |
|---|---|---|
| committer | GabKlein <gabriel.klein.fr@gmail.com> | 2013-03-28 13:28:42 -0700 |
| commit | e61e91323a12de5b96929db4465177decae7edb6 (patch) | |
| tree | a47c1e6dd759c7b23213cddc24cfeb6bbd288153 | |
| parent | ae2b3db59577163a29e602369d33a24ffe53d98d (diff) | |
| download | net-ssh-e61e91323a12de5b96929db4465177decae7edb6.tar.gz | |
Update wildcard substition test
| -rw-r--r-- | test/test_config.rb | 5 |
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 |
