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 regression parsing boolean True/False values #3307

Merged
merged 1 commit into from
Jul 13, 2015
Merged

Fix regression parsing boolean True/False values #3307

merged 1 commit into from
Jul 13, 2015

Conversation

jwilder
Copy link
Contributor

@jwilder jwilder commented Jul 13, 2015

No description provided.

@otoolep
Copy link
Contributor

otoolep commented Jul 13, 2015

+1

@@ -710,7 +710,7 @@ func TestParsePointWithStringWithEquals(t *testing.T) {
}

func TestParsePointWithBoolField(t *testing.T) {
test(t, `cpu,host=serverA,region=us-east true=true,t=t,T=T,TRUE=TRUE,false=false,f=f,F=F,FALSE=FALSE 1000000000`,
test(t, `cpu,host=serverA,region=us-east true=true,t=t,T=T,TRUE=TRUE,True=True,false=false,f=f,F=F,FALSE=FALSE,False=False 1000000000`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Cute test. ;-)

jwilder added a commit that referenced this pull request Jul 13, 2015
Fix regression parsing boolean True/False values
@jwilder jwilder merged commit 792b074 into master Jul 13, 2015
@jwilder jwilder deleted the jw-bools branch July 13, 2015 17:55
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.

2 participants