Skip to content

Commit

Permalink
assert string returned not that we break things (#4962)
Browse files Browse the repository at this point in the history
Co-authored-by: rmartinez <Rachael24!>
  • Loading branch information
robertrmartinez authored Mar 10, 2020
1 parent 79a5f46 commit 8c84e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec/modules/rubiconAnalyticsAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ describe('rubicon analytics adapter', function () {
inputUrl = 'https://prebid.org/some/path?pbjs_debug=true';
expect(getHostNameFromReferer(inputUrl)).to.equal('prebid.org');
inputUrl = 'http://xn--p8j9a0d9c9a.xn--q9jyb4c/';
expect(getHostNameFromReferer(inputUrl)).to.equal('xn--p8j9a0d9c9a.xn--q9jyb4c');
expect(typeof getHostNameFromReferer(inputUrl)).to.equal('string');

// not non-UTF char's in query / path which break if noDecodeWholeURL not set
inputUrl = 'https://prebid.org/search_results/%95x%8Em%92%CA/?category=000';
Expand Down

0 comments on commit 8c84e01

Please sign in to comment.