Fix Defang IP tests causing the tests to fail
This commit is contained in:
parent
e2c7d8c678
commit
59864e3781
@ -6,7 +6,7 @@
|
|||||||
* @copyright Crown Copyright 2019
|
* @copyright Crown Copyright 2019
|
||||||
* @license Apache-2.0
|
* @license Apache-2.0
|
||||||
*/
|
*/
|
||||||
import TestRegister from "../TestRegister";
|
import TestRegister from "../../lib/TestRegister.mjs";
|
||||||
|
|
||||||
TestRegister.addTests([
|
TestRegister.addTests([
|
||||||
{
|
{
|
||||||
@ -15,7 +15,7 @@ TestRegister.addTests([
|
|||||||
expectedOutput: "192[.]168[.]1[.]1",
|
expectedOutput: "192[.]168[.]1[.]1",
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
{
|
{
|
||||||
op: "Defang IP",
|
op: "Defang IP Addresses",
|
||||||
args: [],
|
args: [],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -25,7 +25,7 @@ TestRegister.addTests([
|
|||||||
expectedOutput: "2001[:]0db8[:]85a3[:]0000[:]0000[:]8a2e[:]0370[:]7343",
|
expectedOutput: "2001[:]0db8[:]85a3[:]0000[:]0000[:]8a2e[:]0370[:]7343",
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
{
|
{
|
||||||
op: "Defang IP",
|
op: "Defang IP Addresses",
|
||||||
args: [],
|
args: [],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -35,7 +35,7 @@ TestRegister.addTests([
|
|||||||
expectedOutput: "2001[:]db8[:]3c4d[:]15[:][:]1a2f[:]1a2b",
|
expectedOutput: "2001[:]db8[:]3c4d[:]15[:][:]1a2f[:]1a2b",
|
||||||
recipeConfig: [
|
recipeConfig: [
|
||||||
{
|
{
|
||||||
op: "Defang IP",
|
op: "Defang IP Addresses",
|
||||||
args: [],
|
args: [],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user