Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for suggestionsFor (0.26 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelPathSuggestionProviderTest.groovy

            then:
            suggestionsFor("tasks.fooba") == ["tasks.foobar", "task.afoobar", "tasks.boofar"]
        }
    
        def "suggests model paths with Levenshtein distance lower than half it's length for strings shorter than 6 characters"() {
            when:
            availablePaths = ["fo", "bor", "for", "of", "foob"]
    
            then:
            suggestionsFor("foo") == ["fo", "foob", "for"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top