ion-js icon indicating copy to clipboard operation
ion-js copied to clipboard

Long string not being parsed correctly

Open desaikd opened this issue 1 year ago • 0 comments

Tried following test with ion-js which fails with tripple quoted string/long string

    let s: Value = load("'''hello'''''' world'''")!;

    assert.equal(IonTypes.STRING, s.getType());
    assert.equal(s.stringValue(),"hello world");

s.stringValue() returns helloorld. Further more when we add a space between the two tripple quoted strings('''hello''' ''' world''') the value seems to be loading correctly.

desaikd avatar Oct 28 '24 18:10 desaikd