1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 23:42:32 +01:00
my-idlers/node_modules/dns-equal/test.js

12 lines
351 B
JavaScript
Raw Normal View History

'use strict'
var assert = require('assert')
var dnsEqual = require('./')
assert.strictEqual(dnsEqual('Foo', 'foo'), true)
assert.strictEqual(dnsEqual('FooÆØÅ', 'fooÆØÅ'), true)
assert.strictEqual(dnsEqual('foo', 'bar'), false)
assert.strictEqual(dnsEqual('FooÆØÅ', 'fooæøå'), false)
assert.strictEqual(dnsEqual('café', 'cafe'), false)