source: trip-planner-front/node_modules/dns-equal/test.js@ 6fe77af

Last change on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 351 bytes
Line 
1'use strict'
2
3var assert = require('assert')
4var dnsEqual = require('./')
5
6assert.strictEqual(dnsEqual('Foo', 'foo'), true)
7assert.strictEqual(dnsEqual('FooÆØÅ', 'fooÆØÅ'), true)
8
9assert.strictEqual(dnsEqual('foo', 'bar'), false)
10assert.strictEqual(dnsEqual('FooÆØÅ', 'fooæøå'), false)
11assert.strictEqual(dnsEqual('café', 'cafe'), false)
Note: See TracBrowser for help on using the repository browser.