Files
learning-hour-maker/ideas/slice-with-lambda/exercise/rehearsal-runs/A+Q/verify.txt
T
Your Name 77ae05c28c Rename split-loop-with-lambda to slice-with-lambda
The refactoring is now published as Slice on sammancoaching.org:
https://sammancoaching.org/refactorings/slice.html

- git mv ideas/split-loop-with-lambda -> ideas/slice-with-lambda
- rename learning-hour file and update frontmatter name
- update paths in tools/rehearse scripts and report title
- update prose: 'Split Loop with Lambda' -> 'Slice with Lambda'
  in learning hour, exercise READMEs, storyboard, solution comments
- link the published Slice refactoring from the pattern draft
2026-09-29 15:47:30 +00:00

26 lines
1.5 KiB
Plaintext

--- Run A+Q ---
final diff vs pristine: 38 changed lines -> /tmp/rehearsal/runs/A+Q/diff.patch
mvn test with solution's test + approved file:
RESULT: FAIL (see /tmp/rehearsal/runs/A+Q/mvn-verify.log, last lines:)
[ERROR] LongRangeForecastsTest.longRangeForecast:18 expected: <{Strawberry:12, Chocolate:12, Vanilla:17, }
> but was: <{}
>
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project IceCreamForecasting-Refactoring-Kata: There are test failures.
[ERROR]
[ERROR] Please refer to /tmp/rehearsal/runs/A+Q/workspace/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
structural checks:
[x] method collectExpectedWeather exists
[x] takes LongFunction<Boolean> parameter
[i] note: 'scorer' still referenced in LongRangeForecasts.java
[x] lambda syntax present
[i] main class differs from reference solution (may still be a valid variant)