- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 154 for Newlines (0.13 sec)
-
test/eof.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test a source file does not need a final newline. // Compiles but does not run. // No newline at the end of this file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 308 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fail_newline.txt
# Check that a newline is printed after the buffer's contents. cd fail ! go test . ! stderr . stdout '^exitcode=1\n' stdout '^FAIL\s+example/fail' # In local directory mode output is streamed, so we don't know # whether the test printed anything at all, so we print the exit code # (just in case it failed without emitting any output at all), # and that happens to add the needed newline as well. ! go test ! stderr .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 04 21:33:23 UTC 2021 - 1.4K bytes - Viewed (0) -
test/fixedbugs/issue15611.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p // These error messages are for the invalid literals on lines 19 and 20: // ERROR "newline in character literal|newline in rune literal" // ERROR "invalid character literal \(missing closing '\)|rune literal not terminated" const ( _ = '' // ERROR "empty character literal or unescaped ' in character literal|empty rune literal"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 05 00:40:38 UTC 2020 - 685 bytes - Viewed (0) -
test/eof1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that a comment ending a source file does not need a final newline. // Compiles but does not run. package eof1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 333 bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/issue23434.go
// parser after missing type. There should be exactly // one error each time, with now follow errors. package p type T /* ERROR unexpected newline */ type Map map[int] /* ERROR unexpected newline */ // Examples from go.dev/issue/23434: func g() { m := make(map[string] /* ERROR unexpected ! */ !) for { x := 1 print(x) } } func f() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 12:49:49 UTC 2023 - 653 bytes - Viewed (0) -
internal/s3select/csv/recordtransform.go
n++ } else { n, err = rr.reader.Read(p) } if err != nil { return n, err } // Do nothing if record-delimiter is already newline. if string(rr.recordDelimiter) == "\n" { return n, nil } // Change record delimiters to newline. if len(rr.recordDelimiter) == 1 { for idx := 0; idx < len(p); { i := bytes.Index(p[idx:], rr.recordDelimiter) if i < 0 { break }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
test/fixedbugs/bug013.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 411 bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java
*/ ExecutionResult assertOutputContains(String expectedOutput); /** * Asserts that the given content includes the given log message. * * @param content The content to check * @param expectedOutput The expected log message, with line endings normalized to a newline character.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.7K bytes - Viewed (0) -
src/go/parser/testdata/issue34946.src
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 608 bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFileWriterContext.java
writeOptionHeader(option); newLine(); return this; } public JavadocOptionFileWriterContext writeValueOption(String option, String value) throws IOException { writeOptionHeader(option); writeValue(value); newLine(); return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.2K bytes - Viewed (0)