You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
351 B
12 lines
351 B
2 years ago
|
'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)
|