Skip to content

Commit

Permalink
test: fix the test asserting version number
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed May 10, 2021
1 parent 9ed9c62 commit 131160f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const assertSpans = (actualSpans: any[], expectedSpans: any[]) => {
assert.notStrictEqual(expected, undefined);
assert.strictEqual(span.attributes['router.name'], expected.name);
assert.strictEqual(span.attributes['router.type'], expected.type);
assert.strictEqual(span.attributes['router.version'], '1.3.5');
assert.strictEqual(typeof span.attributes['router.version'], 'string');
assert.strictEqual(span.attributes['http.route'], expected.route);
} catch (e) {
e.message = `At span[${idx}]: ${e.message}`;
Expand Down

0 comments on commit 131160f

Please sign in to comment.