Skip to content

toUpperCaseURL does not produce the expected output from official RML-FNML test cases #3

@s-minoo

Description

@s-minoo

The official RML-FNML test cases utilizing idlab-func:toUpperCaseURL expect the generated output of the function to have a lower-case http instead of the upper case HTTP as returned by the current implementation

public static String toUpperCaseURL(String test) {
String upperTest = test.toUpperCase();
if (!upperTest.startsWith("HTTP://")) {
upperTest = "HTTP://" + upperTest;
}
return upperTest;
}

Which one should be the correct output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions