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 |
|
---|
3 | var assert = require('assert')
|
---|
4 | var dnsEqual = require('./')
|
---|
5 |
|
---|
6 | assert.strictEqual(dnsEqual('Foo', 'foo'), true)
|
---|
7 | assert.strictEqual(dnsEqual('FooÆØÅ', 'fooÆØÅ'), true)
|
---|
8 |
|
---|
9 | assert.strictEqual(dnsEqual('foo', 'bar'), false)
|
---|
10 | assert.strictEqual(dnsEqual('FooÆØÅ', 'fooæøå'), false)
|
---|
11 | assert.strictEqual(dnsEqual('café', 'cafe'), false)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.