Skip to content

Commit

Permalink
test: Add test for qualifier names with colons
Browse files Browse the repository at this point in the history
  • Loading branch information
KDB223 committed May 17, 2023
1 parent 4c76fff commit 26df87e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/mutation.ts
Expand Up @@ -460,6 +460,13 @@ describe('Bigtable/Mutation', () => {
assert.strictEqual(parsed.family, 'a');
assert.strictEqual(parsed.qualifier, undefined);
});

it('should parse a qualifier name with colons', () => {
const parsed = Mutation.parseColumnName('a:b:c');

assert.strictEqual(parsed.family, 'a');
assert.strictEqual(parsed.qualifier, 'b:c');
});
});

describe('toProto', () => {
Expand Down

0 comments on commit 26df87e

Please sign in to comment.