Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNilCondition (0.18 sec)

  1. statement_test.go

    				Exprs: s.BuildCondition("FINAL2"),
    			})
    
    			if reflect.DeepEqual(s1.Clauses["WHERE"], s2.Clauses["WHERE"]) {
    				t.Errorf("Where conditions should be different")
    			}
    		})
    	}
    }
    
    func TestNilCondition(t *testing.T) {
    	s := new(Statement)
    	if len(s.BuildCondition(nil)) != 0 {
    		t.Errorf("Nil condition should be empty")
    	}
    }
    
    func TestNameMatcher(t *testing.T) {
    	for k, v := range map[string][]string{
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Dec 23 13:19:41 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top