File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
tests/CouchDB.Driver.UnitTests/Find Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -86,5 +86,17 @@ public void Variable_Bool_False()
86
86
var json = rebels . Where ( r => ! r . IsJedi ) . OrderBy ( r => r . IsJedi ) . ToString ( ) ;
87
87
Assert . Equal ( @"{""selector"":{""isJedi"":false},""sort"":[""isJedi""]}" , json ) ;
88
88
}
89
+ [ Fact ]
90
+ public void Variable_Bool_ExplicitTrue ( )
91
+ {
92
+ var json = rebels . Where ( r => r . IsJedi == true ) . OrderBy ( r => r . IsJedi ) . ToString ( ) ;
93
+ Assert . Equal ( @"{""selector"":{""isJedi"":true},""sort"":[""isJedi""]}" , json ) ;
94
+ }
95
+ [ Fact ]
96
+ public void Variable_Bool_ExplicitFalse ( )
97
+ {
98
+ var json = rebels . Where ( r => r . IsJedi == false ) . OrderBy ( r => r . IsJedi ) . ToString ( ) ;
99
+ Assert . Equal ( @"{""selector"":{""isJedi"":false},""sort"":[""isJedi""]}" , json ) ;
100
+ }
89
101
}
90
102
}
You can’t perform that action at this time.
0 commit comments