aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_string.rb
AgeCommit message (Collapse)Author
2016-11-16Reorder and rename test files.Markus Reiter
2016-10-24Don’t use bare percent literals.Markus Reiter
2015-12-20more core unit testsBaptiste Fontaine
Closes Homebrew/homebrew#47182. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-28tweak String#undent so that only leading whitespace up to the first ↵William Woodruff
indentation level is gsubbed, change test_undent to reflect change and add test_undent_nested to test new behavior
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-06-04Clean up some test assertionsJack Nagel
2014-05-02Fix for String#undentBaptiste Fontaine
Without it, String#undent would fail on unindented strings, e.g.: "foo".undent NoMethodError: undefined method `length' for nil:NilClass` Closes Homebrew/homebrew#28873. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-04tests: clean up whitespaceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04Prune some requires from test filesJack Nagel
testing_env already requires utils; set up the ARGV and ENV extensions there as well. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2010-10-17extract undent test to test caseMichael Morgan
Signed-off-by: Adam Vandenberg <flangy@gmail.com>