From 1208e26c74a72d6bdc56751414bb704e47dff99c Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sun, 21 Feb 2016 22:47:50 +0100 Subject: [PATCH] audit: a couple more tests Closes Homebrew/homebrew#49404. Signed-off-by: Baptiste Fontaine --- Library/Homebrew/test/test_cmd_audit.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Library/Homebrew/test/test_cmd_audit.rb b/Library/Homebrew/test/test_cmd_audit.rb index ce37a2c8ed..d030624eda 100644 --- a/Library/Homebrew/test/test_cmd_audit.rb +++ b/Library/Homebrew/test/test_cmd_audit.rb @@ -321,4 +321,23 @@ class FormulaAuditorTests < Homebrew::TestCase fa.audit_line 'ohai share/"foolibc++"', 3 assert_equal 'Use pkgshare instead of (share/"foolibc++")', fa.problems.shift end + + def test_audit_line_space_in_class_inheritance + fa = formula_auditor "foo", "class Foo