From db00dad0332626fd4a4e84fff349f139c23b39e3 Mon Sep 17 00:00:00 2001 From: Asger F Date: Fri, 13 Dec 2024 15:45:18 +0100 Subject: [PATCH] JS: Avoid deprecation warnings in some tests --- .../ql/test/library-tests/FlowLabels/DefaultFlowLabels.ql | 3 +++ .../LabelledBarrierGuards/LabelledBarrierGuards.ql | 3 +++ 2 files changed, 6 insertions(+) diff --git a/javascript/ql/test/library-tests/FlowLabels/DefaultFlowLabels.ql b/javascript/ql/test/library-tests/FlowLabels/DefaultFlowLabels.ql index 026933fc123f..c1a8739afdd8 100644 --- a/javascript/ql/test/library-tests/FlowLabels/DefaultFlowLabels.ql +++ b/javascript/ql/test/library-tests/FlowLabels/DefaultFlowLabels.ql @@ -1,3 +1,6 @@ +// Delete test when FlowLabel has been removed +deprecated module; + import javascript // Check which flow labels are materialized by importing `javascript.qll`. diff --git a/javascript/ql/test/library-tests/LabelledBarrierGuards/LabelledBarrierGuards.ql b/javascript/ql/test/library-tests/LabelledBarrierGuards/LabelledBarrierGuards.ql index ad8b63ea13e9..b6dc9bb59681 100644 --- a/javascript/ql/test/library-tests/LabelledBarrierGuards/LabelledBarrierGuards.ql +++ b/javascript/ql/test/library-tests/LabelledBarrierGuards/LabelledBarrierGuards.ql @@ -1,3 +1,6 @@ +// Delete test when LabelledBarrierGuards have been removed +deprecated module; + import javascript class CustomFlowLabel extends DataFlow::FlowLabel {