Fix docs sample

- Backport #1012
- Fixes #1032
This commit is contained in:
Janne Valkealahti
2024-03-10 15:44:21 +00:00
parent b7218007ed
commit d252482bf4

View File

@@ -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(() -> {