- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 297 for unclosed4 (0.19 sec)
-
src/text/template/parse/parse_test.go
// Check line numbers are accurate. {"unclosed1", "line1\n{{", hasError, `unclosed1:2: unclosed action`}, {"unclosed2", "line1\n{{define `x`}}line2\n{{", hasError, `unclosed2:3: unclosed action`}, {"unclosed3", "line1\n{{\"x\"\n\"y\"\n", hasError, `unclosed3:4: unclosed action started at unclosed3:2`}, {"unclosed4", "{{\n\n\n\n\n", hasError, `unclosed4:6: unclosed action started at unclosed4:1`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitEnclosedRunnerIntegrationTest.groovy
} @Issue('https://github.com/gradle/gradle/issues/2319') def 'can run tests in Enclosed runner'() { given: file('src/test/java/EnclosedTest.java') << """ ${testFrameworkImports} import org.junit.experimental.runners.Enclosed; @RunWith( Enclosed.class ) public class EnclosedTest { public static class InnerClass {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.4K bytes - Viewed (0) -
src/text/template/parse/lex_test.go
}}, {"unclosed action", "{{", []item{ tLeft, mkItem(itemError, "unclosed action"), }}, {"EOF in action", "{{range", []item{ tLeft, tRange, mkItem(itemError, "unclosed action"), }}, {"unclosed quote", "{{\"\n\"}}", []item{ tLeft, mkItem(itemError, "unterminated quoted string"), }}, {"unclosed raw quote", "{{`xx}}", []item{ tLeft,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 15:03:43 UTC 2022 - 13.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex_test.go
{ "3 #define foo bar\n", "'#' must be first item on line", }, { "#ifdef foo\nhello", "unclosed #ifdef or #ifndef", }, { "#ifndef foo\nhello", "unclosed #ifdef or #ifndef", }, { "#ifdef foo\nhello\n#else\nbye", "unclosed #ifdef or #ifndef", }, { "#define A() A()\nA()", "recursive macro invocation", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0) -
test/fixedbugs/bug346.go
// Copyright 2011 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. package main import "os" func main() { // Test unclosed closure. { x := 4 a, b, c, d := func(i int) (p int, q int, r int, s int) { return 1, i, 3, x }(2) if a != 1 || b != 2 || c != 3 || d != 4 { println("1# abcd: expected 1 2 3 4 got", a, b, c, d)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 13 12:12:18 UTC 2015 - 743 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ClassModelRuleSourceValidationTest.groovy
type | reason OuterClass.AnInterface | "Must be a class, not an interface" OuterClass.InnerInstanceClass | "Enclosed classes must be static and non private" new RuleSource() {}.getClass() | "Enclosed classes must be static and non private" OuterClass.HasTwoConstructors | "Cannot declare a constructor that takes arguments"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/etag.go
func ServeHTTPWithETag( object runtime.Object, hash string, targetGV schema.GroupVersion, serializer runtime.NegotiatedSerializer, w http.ResponseWriter, req *http.Request, ) { // ETag must be enclosed in double quotes: // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag quotedHash := strconv.Quote(hash) w.Header().Set("ETag", quotedHash) w.Header().Set("Vary", "Accept")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 2.5K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
data: String, ) { get().log("[ES] onEvent", Platform.INFO, null) events.add(Event(id, type, data)) drainCancelQueue(eventSource) } override fun onClosed(eventSource: EventSource) { get().log("[ES] onClosed", Platform.INFO, null) events.add(Closed) drainCancelQueue(eventSource) } override fun onFailure( eventSource: EventSource, t: Throwable?,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt
) } @Test fun `syntax error - id() with unclosed string`() { assertDynamicInterpretationOf( """id("plugin-id-1) ; id("plugin-id-2")"""", "Expecting token of type RBRACE, but got IDENTIFIER ('id') instead" ) } @Test fun `syntax error - id() with unclosed parens`() { assertDynamicInterpretationOf(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 15:15:27 UTC 2024 - 22.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
events.add(Closing(code, reason)) } } override fun onClosed( webSocket: WebSocket, code: Int, reason: String, ) { Platform.get().log("[WS $name] onClosed $code", Platform.INFO, null) val delegate = delegate if (delegate != null) { this.delegate = null delegate.onClosed(webSocket, code, reason) } else { events.add(Closed(code, reason)) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0)