From d252482bf4ea4fd277e283d5d8c36163aeeccca5 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sun, 10 Mar 2024 15:44:21 +0000 Subject: [PATCH] Fix docs sample - Backport #1012 - Fixes #1032 --- .../java/org/springframework/shell/docs/TestingSnippets.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-shell-docs/src/test/java/org/springframework/shell/docs/TestingSnippets.java b/spring-shell-docs/src/test/java/org/springframework/shell/docs/TestingSnippets.java index a7e00907..3fe08163 100644 --- a/spring-shell-docs/src/test/java/org/springframework/shell/docs/TestingSnippets.java +++ b/spring-shell-docs/src/test/java/org/springframework/shell/docs/TestingSnippets.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2022-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -71,7 +71,7 @@ class TestingSnippets { @Test void test() { NonInteractiveShellSession session = client - .nonInterative("help", "help") + .nonInterative("help") .run(); await().atMost(2, TimeUnit.SECONDS).untilAsserted(() -> {