Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jehiah committed Oct 26, 2023
1 parent 5f3755f commit 5c77c0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bttest/timestamp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
12 changes: 6 additions & 6 deletions bttest/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ import (
)

// validateRowRanges returns a status.Error for req if:
// * both start_qualifier_closed and start_qualifier_open are set
// * both end_qualifier_closed and end_qualifier_open are set
// * start_qualifier_closed > end_qualifier_closed
// * start_qualifier_closed > end_qualifier_open
// * start_qualifier_open > end_qualifier_closed
// * start_qualifier_open > end_qualifier_open
// - both start_qualifier_closed and start_qualifier_open are set
// - both end_qualifier_closed and end_qualifier_open are set
// - start_qualifier_closed > end_qualifier_closed
// - start_qualifier_closed > end_qualifier_open
// - start_qualifier_open > end_qualifier_closed
// - start_qualifier_open > end_qualifier_open
func validateRowRanges(req *btpb.ReadRowsRequest) error {
rowRanges := req.GetRows().GetRowRanges()
if len(rowRanges) == 0 {
Expand Down

0 comments on commit 5c77c0f

Please sign in to comment.