Add tests for multi-line strings and fix them.
ClosedPublic

Authored by ematirov on Jun 13 2017, 5:05 PM.

Details

Summary

Add tests for multi-line strings
Fix multi-line strings behavior

The "" string may not be multi-line (cannot contain new line char "\n") .
The `` should be correctly handled in multi-line case (can contain new line char "\n").

Test Plan

Tests pass

Diff Detail

Repository
R59 KDevelop Go
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ematirov created this revision.Jun 13 2017, 5:05 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJun 13 2017, 5:05 PM
apol accepted this revision.Jun 14 2017, 9:56 PM

FWIW it's probably not necessary that you post everything for review, especially if it's accompanied by a Unit Test.

This revision is now accepted and ready to land.Jun 14 2017, 9:56 PM
This revision was automatically updated to reflect the committed changes.