Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhiggs committed Nov 6, 2024
1 parent cb51780 commit b504ca7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions test/input/test-001/test-re2.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@ import {
validZuluTimeType,
isUTCDateTime,
} from "../../../pattern_checks.js";
import {isTAGURI} from "../../../URI_checks.js";

<<<<<<< HEAD
const AVCregex = /[a-z0-9!\"#$%&'()*+,./:;<=>?@[\] ^_`{|}~-]{4}\.[a-f0-9]{6}/i;
const AC4regex = /ac-4(\.[a-fA-F\d]{1,2}){3}/;
const VP9regex = /^vp09(\.\d{2}){3}(\.(\d{2})?){0,5}$/;

const AV1regex = /^av01\.\d\.\d+[MH]\.\d{1,2}((\.\d?)(\.(\d{3})?(\.(\d{2})?(.(\d{2})?(.(\d{2})?(.\d?)?)?)?)?)?)?$/;
=======
import {isTAGURI} from "../../../URI_checks.js";
>>>>>>> 719265c9b8bd33848f29523b9ccfc41214d2c544


const ConsoleColours = {
Reset: "\x1b[0m",
Expand Down Expand Up @@ -217,8 +214,6 @@ const tests0 = [
{item: "taguri-3", fn: isTAGURI, evaluate: "tag:sandt.com.uk,2023:SandT-Service-1", expect: true},
{item: "taguri-4", fn: isTAGURI, evaluate: "tag:sandt.com.uk,2023:SandT‑Service‑1‑The Legend of Boggy Creek (1972)", expect: false},
{item: "taguri-5", fn: isTAGURI, evaluate: "tag:sandt.com.uk,2023:SandT-Service-1-The%20Legend%20of%20Boggy%20Creek%20(1972)", expect: true},


];

const tests1 = [
Expand Down

0 comments on commit b504ca7

Please sign in to comment.