Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the CROSS MARK (U+274C) symbol for errors #159

Merged
merged 2 commits into from
Oct 6, 2015

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Sep 8, 2015

I always thought that the symbol was a glitch rather than the expected symbol for errors.

@@ -72,7 +72,7 @@ module XCPretty
@formatter.format_duplicate_symbols("duplicate symbol _OBJC_IVAR_$ClassName._ivarName in",
['/Users/username/Library/Developer/Xcode/DerivedData/App-arcyyktezaigixbocjwfhsjllojz/Build/Intermediates/App.build/Debug-iphonesimulator/App.build/Objects-normal/i386/ClassName.o',
'/Users/username/Library/Developer/Xcode/DerivedData/App-arcyyktezaigixbocjwfhsjllojz/Build/Products/Debug-iphonesimulator/libPods.a(DuplicateClassName.o)']).should == %Q(
#{@formatter.red(" duplicate symbol _OBJC_IVAR_$ClassName._ivarName in")}
#{@formatter.red(" duplicate symbol _OBJC_IVAR_$ClassName._ivarName in")}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings inside interpolations.

@0xced 0xced changed the title 0xced Use the CROSS MARK (U+274C) symbol for errors Sep 8, 2015
@@ -272,7 +272,7 @@
end

Then(/^I should see the undefined symbold message$/) do
run_output.should include(red(" Undefined symbols for architecture x86_64"))
run_output.should include(red(" Undefined symbols for architecture x86_64"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer single-quoted strings when you don't need string interpolation or special symbols.

@supermarin
Copy link
Contributor

Sounds good.
Thanks for the contribution!

supermarin added a commit that referenced this pull request Oct 6, 2015
Use the CROSS MARK (U+274C) symbol for errors
@supermarin supermarin merged commit fe975c7 into xcpretty:master Oct 6, 2015
@0xced 0xced deleted the error-cross-mark branch October 6, 2015 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants