Groovy Multi-line GString is processed wrongly

**OS : **Windows 7

Katalon Studio Version : 5.4.2

## Katalon Studio logs:

Not relevant, I think.

## Environment (for Web testing)

does not depend on browser

## Steps to reproduce -

I made a test case like this:

def version = '0.1'println """version is ${version}"""println """version is ${version}"""

## Expected Behavior -

When executed, in the Console I expected to see the messages:

version is 0.1
...
version is 0.1

## Actual Behavior -

In the Console I found the following:

08-01-2018 10:06:51 AM - [START]  - Start action : Statement - println(version is $version)version is 0.108-01-2018 10:06:52 AM - [END]    - End action : Statement - println(version is $version)08-01-2018 10:06:52 AM - [START]  - Start action : Statement - println(version is $version)version is 0.108-01-2018 10:06:52 AM - [END]    - End action : Statement - println(version is $version)08-01-2018 10:06:52 AM - [PASSED] - Test Cases/TestGString

## Screenshots / Videos

In Test Case multiline GString is processed wrongly.

PLEASE ignore this post

GStringInKatalonTestCase.png

1 Like