8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcda077 commit c577af6Copy full SHA for c577af6
test/chruby_reset_test.sh
@@ -38,4 +38,22 @@ test_chruby_reset_duplicate_path()
38
assertEquals "PATH was not sanitized" "$TEST_PATH" "$PATH"
39
}
40
41
+test_chruby_reset_leading_colons()
42
+{
43
+ export PATH=":::$PATH"
44
+
45
+ chruby_reset
46
47
+ assertEquals "PATH was not sanitized" "$TEST_PATH" "$PATH"
48
+}
49
50
+test_chruby_reset_trailing_colons()
51
52
+ export PATH="$PATH:::"
53
54
55
56
57
58
59
SHUNIT_PARENT=$0 . /usr/share/shunit2/shunit2
0 commit comments