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

fix WarnType color-based reflection tests run from the REPL #23252

Merged
merged 1 commit into from
Aug 17, 2017

Conversation

jrevels
Copy link
Member

@jrevels jrevels commented Aug 14, 2017

Noticed this while working on #22979

@ararslan ararslan added the stdlib:REPL Julia's REPL (Read Eval Print Loop) label Aug 14, 2017
@test warntype_hastag(getindex, Tuple{Unstable{Float64},Int}, tag)
@test !warntype_hastag(getindex, Tuple{Stable{Float64,2},Int}, tag)
@test warntype_hastag(getindex, Tuple{Stable{Float64},Int}, tag)

# Make sure emphasis is not used for other functions
tag = Base.have_color ? Base.error_color() : "ANY"
tag = Base.have_color ? Base.text_colors[Base.error_color()] : "ANY"
Copy link
Contributor

Choose a reason for hiding this comment

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

why the extra space on these two?

Copy link
Member Author

Choose a reason for hiding this comment

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

D'oh, good catch. Fixed.

@jrevels jrevels merged commit a945af3 into master Aug 17, 2017
@jrevels jrevels deleted the jr/warntypefix branch August 17, 2017 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib:REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants