Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Correct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrtalbot committed Jul 5, 2024
1 parent f70cecc commit 38b48b7
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ class PluginExtensionMethodsTest extends Dsl2Spec{

def 'should ignore s3 path' () {
given:
def schema = Path.of('src/testResources/nextflow_schema_file_path_pattern.json').toAbsolutePath().toString()
def schema = Path.of('src/testResources/nextflow_schema_with_samplesheet.json').toAbsolutePath().toString()
def SCRIPT_TEXT = """
params.glob = 's3://fake/path'
params.input = 's3://fake/path'
include { validateParameters } from 'plugin/nf-validation'
validateParameters(parameters_schema: '$schema')
Expand All @@ -469,9 +469,9 @@ class PluginExtensionMethodsTest extends Dsl2Spec{

def 'should ignore az path' () {
given:
def schema = Path.of('src/testResources/nextflow_schema_file_path_pattern.json').toAbsolutePath().toString()
def schema = Path.of('src/testResources/nextflow_schema_with_samplesheet.json').toAbsolutePath().toString()
def SCRIPT_TEXT = """
params.glob = 'az://fake/path'
params.input = 'az://fake/path'
include { validateParameters } from 'plugin/nf-validation'
validateParameters(parameters_schema: '$schema')
Expand All @@ -491,9 +491,9 @@ class PluginExtensionMethodsTest extends Dsl2Spec{

def 'should ignore gs path' () {
given:
def schema = Path.of('src/testResources/nextflow_schema_file_path_pattern.json').toAbsolutePath().toString()
def schema = Path.of('src/testResources/nextflow_schema_with_samplesheet.json').toAbsolutePath().toString()
def SCRIPT_TEXT = """
params.glob = 'gs://fake/path'
params.input = 'gs://fake/path'
include { validateParameters } from 'plugin/nf-validation'
validateParameters(parameters_schema: '$schema')
Expand Down

0 comments on commit 38b48b7

Please sign in to comment.