From 39e59eec4638f32bdb5e0c1a0ab326ead4f331ce Mon Sep 17 00:00:00 2001 From: Stypox Date: Sun, 22 Sep 2019 18:36:25 +0200 Subject: [PATCH] Fix CompilerToJavaTest after recent changes to compilation --- .../dicio/sentences_compiler/compiler/CompilerToJavaTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sentences_compiler/src/test/java/com/dicio/sentences_compiler/compiler/CompilerToJavaTest.java b/sentences_compiler/src/test/java/com/dicio/sentences_compiler/compiler/CompilerToJavaTest.java index f5ee5df..ea87c86 100644 --- a/sentences_compiler/src/test/java/com/dicio/sentences_compiler/compiler/CompilerToJavaTest.java +++ b/sentences_compiler/src/test/java/com/dicio/sentences_compiler/compiler/CompilerToJavaTest.java @@ -48,8 +48,8 @@ public void testReadmeExample() throws IOException, CompilerError { outputStream.close(); String code = outputStream.toString("unicode"); - assertThat(code, CoreMatchers.containsString("StandardRecognizer section_mood")); - assertThat(code, CoreMatchers.containsString("StandardRecognizer section_GPS_navigation")); + assertThat(code, CoreMatchers.containsString("StandardRecognizerData section_mood")); + assertThat(code, CoreMatchers.containsString("StandardRecognizerData section_GPS_navigation")); assertThat(code, CoreMatchers.containsString("package com.hello.world")); assertThat(code, CoreMatchers.containsString("class MyClass")); }