Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSpaces (0.12 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

         */
        @BeforeEach
        public void setUp() throws Exception {
            properties = new MavenProperties();
            properties.load(new StringReader(TEST_PROPERTIES));
        }
    
        @Test
        public void testSpaces() throws Exception {
            String config = "\n" + "\n"
                    + "    \n"
                    + "                \n"
                    + "   \\ \\r \\n \\t \\f\n"
                    + "   \n"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    	"io"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    )
    
    const smallMaxTokenSize = 256 // Much smaller for more efficient testing.
    
    // Test white space table matches the Unicode definition.
    func TestSpace(t *testing.T) {
    	for r := rune(0); r <= utf8.MaxRune; r++ {
    		if IsSpace(r) != unicode.IsSpace(r) {
    			t.Fatalf("white space property disagrees: %#U should be %t", r, unicode.IsSpace(r))
    		}
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top