my-idlers/node_modules/dns-equal/test.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

12 lines
351 B
JavaScript
Vendored

'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)