mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 01:45:15 +00:00
12 lines
351 B
JavaScript
12 lines
351 B
JavaScript
'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)
|