File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
libs/langchain-core/src/utils/tests Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,13 @@ it("strings", () => {
5454 expectPartialJson ( String . raw `"15\u00f8C` ) . toBe ( "15\u00f8C" ) ;
5555 expectPartialJson ( String . raw `"15\u00f8C"` ) . toBe ( "15\u00f8C" ) ;
5656
57+ expectPartialJson ( String . raw `"hello\\` ) . toBe ( "hello\\" ) ;
58+ expectPartialJson ( String . raw `"hello\\"` ) . toBe ( "hello\\" ) ;
59+
5760 expectPartialJson ( String . raw `"hello${ "\\" } ` ) . toBe ( "hello\\" ) ;
5861 expectPartialJson ( String . raw `"hello\"` ) . toBe ( 'hello"' ) ;
5962 expectPartialJson ( String . raw `"hello\""` ) . toBe ( 'hello"' ) ;
6063
61- expectPartialJson ( String . raw `"hello\\` ) . toBe ( "hello\\" ) ;
62-
6364 expectPartialJson ( String . raw `"\t\n\r\b\f\/` ) . toBe ( "\t\n\r\b\f/" ) ;
6465 expectPartialJson ( String . raw `"\t\n\r\b\f\/"` ) . toBe ( "\t\n\r\b\f/" ) ;
6566
You can’t perform that action at this time.
0 commit comments