@@ -20,6 +20,7 @@ describe('core', () => {
2020 assert . equal ( typeof core . isLoopback , 'function' , 'core.isLoopback' )
2121 assert . equal ( typeof core . isPrivate , 'function' , 'core.isPrivate' )
2222 assert . equal ( typeof core . isPublic , 'function' , 'core.isPublic' )
23+ assert . equal ( typeof core . isSpecial , 'function' , 'core.isSpecial' )
2324 assert . equal ( typeof core . isV4 , 'function' , 'core.isV4' )
2425 assert . equal ( typeof core . isV4Format , 'function' , 'core.isV4Format' )
2526 assert . equal ( typeof core . isV6 , 'function' , 'core.isV6' )
@@ -31,7 +32,6 @@ describe('core', () => {
3132 assert . equal ( typeof core . normalizeToLong , 'function' , 'core.normalizeToLong' )
3233 assert . equal ( typeof core . not , 'function' , 'core.not' )
3334 assert . equal ( typeof core . or , 'function' , 'core.or' )
34- assert . equal ( typeof core . readUInt16BE , 'function' , 'core.readUInt16BE' )
3535 assert . equal ( typeof core . setMode , 'function' , 'core.setMode' )
3636 assert . equal ( typeof core . subnet , 'function' , 'core.subnet' )
3737 assert . equal ( typeof core . toBuffer , 'function' , 'core.toBuffer' )
@@ -70,6 +70,7 @@ describe('index', () => {
7070 assert . equal ( typeof index . default . isLoopback , 'function' , 'index.default.isLoopback' )
7171 assert . equal ( typeof index . default . isPrivate , 'function' , 'index.default.isPrivate' )
7272 assert . equal ( typeof index . default . isPublic , 'function' , 'index.default.isPublic' )
73+ assert . equal ( typeof index . default . isSpecial , 'function' , 'index.default.isSpecial' )
7374 assert . equal ( typeof index . default . isV4 , 'function' , 'index.default.isV4' )
7475 assert . equal ( typeof index . default . isV4Format , 'function' , 'index.default.isV4Format' )
7576 assert . equal ( typeof index . default . isV6 , 'function' , 'index.default.isV6' )
@@ -81,7 +82,6 @@ describe('index', () => {
8182 assert . equal ( typeof index . default . normalizeToLong , 'function' , 'index.default.normalizeToLong' )
8283 assert . equal ( typeof index . default . not , 'function' , 'index.default.not' )
8384 assert . equal ( typeof index . default . or , 'function' , 'index.default.or' )
84- assert . equal ( typeof index . default . readUInt16BE , 'function' , 'index.default.readUInt16BE' )
8585 assert . equal ( typeof index . default . setMode , 'function' , 'index.default.setMode' )
8686 assert . equal ( typeof index . default . subnet , 'function' , 'index.default.subnet' )
8787 assert . equal ( typeof index . default . toBuffer , 'function' , 'index.default.toBuffer' )
@@ -106,6 +106,7 @@ describe('index', () => {
106106 assert . equal ( typeof index . ip . isLoopback , 'function' , 'index.ip.isLoopback' )
107107 assert . equal ( typeof index . ip . isPrivate , 'function' , 'index.ip.isPrivate' )
108108 assert . equal ( typeof index . ip . isPublic , 'function' , 'index.ip.isPublic' )
109+ assert . equal ( typeof index . ip . isSpecial , 'function' , 'index.ip.isSpecial' )
109110 assert . equal ( typeof index . ip . isV4 , 'function' , 'index.ip.isV4' )
110111 assert . equal ( typeof index . ip . isV4Format , 'function' , 'index.ip.isV4Format' )
111112 assert . equal ( typeof index . ip . isV6 , 'function' , 'index.ip.isV6' )
@@ -117,7 +118,6 @@ describe('index', () => {
117118 assert . equal ( typeof index . ip . normalizeToLong , 'function' , 'index.ip.normalizeToLong' )
118119 assert . equal ( typeof index . ip . not , 'function' , 'index.ip.not' )
119120 assert . equal ( typeof index . ip . or , 'function' , 'index.ip.or' )
120- assert . equal ( typeof index . ip . readUInt16BE , 'function' , 'index.ip.readUInt16BE' )
121121 assert . equal ( typeof index . ip . setMode , 'function' , 'index.ip.setMode' )
122122 assert . equal ( typeof index . ip . subnet , 'function' , 'index.ip.subnet' )
123123 assert . equal ( typeof index . ip . toBuffer , 'function' , 'index.ip.toBuffer' )
@@ -127,6 +127,7 @@ describe('index', () => {
127127 assert . equal ( typeof index . isLoopback , 'function' , 'index.isLoopback' )
128128 assert . equal ( typeof index . isPrivate , 'function' , 'index.isPrivate' )
129129 assert . equal ( typeof index . isPublic , 'function' , 'index.isPublic' )
130+ assert . equal ( typeof index . isSpecial , 'function' , 'index.isSpecial' )
130131 assert . equal ( typeof index . isV4 , 'function' , 'index.isV4' )
131132 assert . equal ( typeof index . isV4Format , 'function' , 'index.isV4Format' )
132133 assert . equal ( typeof index . isV6 , 'function' , 'index.isV6' )
@@ -138,7 +139,6 @@ describe('index', () => {
138139 assert . equal ( typeof index . normalizeToLong , 'function' , 'index.normalizeToLong' )
139140 assert . equal ( typeof index . not , 'function' , 'index.not' )
140141 assert . equal ( typeof index . or , 'function' , 'index.or' )
141- assert . equal ( typeof index . readUInt16BE , 'function' , 'index.readUInt16BE' )
142142 assert . equal ( typeof index . setMode , 'function' , 'index.setMode' )
143143 assert . equal ( typeof index . subnet , 'function' , 'index.subnet' )
144144 assert . equal ( typeof index . toBuffer , 'function' , 'index.toBuffer' )
0 commit comments