From 9ad2f736b0e19d61a71d4d60f734e8d7bb9cf94e Mon Sep 17 00:00:00 2001 From: Vardan Petrosyan Date: Wed, 29 May 2024 23:59:06 +0400 Subject: [PATCH] updated tests to match new output --- tests/help.rn.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/help.rn.json b/tests/help.rn.json index 2887d3a..8f37aa4 100644 --- a/tests/help.rn.json +++ b/tests/help.rn.json @@ -1 +1 @@ -{"code": 0, "stdout": "\nString\n\nA String is a sequence of characters.\n\nMethods:\n len(str) -> Returns the length of the string.\n\nString standard library methods:\n find(str) -> Find a character in a string and return its index (-1 if not found)\n to_int() -> Magic method to convert string to int if possible\n\nExample: \"Hello World!\"\n\nHelp on object Test:\n\nclass Test\n| property1 = \"Hello, World!\"\n| fun __constructor__()\n|\t[No Description]\n| fun func1(arg1, arg2)\n|\tDescription for func1\n| fun func2(arg1)\n|\tDescription for func2\n| fun no_description()\n|\t[No Description]\n\nHelp on object Test:\n\nclass Test\n| property1 = \"Hello, World!\"\n| fun __constructor__()\n|\t[No Description]\n| fun func1(arg1, arg2)\n|\tDescription for func1\n| fun func2(arg1)\n|\tDescription for func2\n| fun no_description()\n|\t[No Description]\n\nHelp on function standalone\n| fun standalone(arg1, arg2)\n|\tThis is a standalone function\n\n", "stderr": ""} \ No newline at end of file +{"code": 0, "stdout": "\nString\n\nA String is a sequence of characters.\n\nMethods:\n len(str) -> Returns the length of the string.\n\nString standard library methods:\n find(str) -> Find a character in a string and return its index (-1 if not found)\n to_int() -> Magic method to convert string to int if possible\n\nExample: \"Hello World!\"\n\nHelp on object Test:\n\nclass Test\n|\n| property1 = \"Hello, World!\"\n|\n| fun __constructor__()\n|\t[No Description]\n|\n| fun func1(arg1, arg2)\n|\tDescription for func1\n|\n| fun func2(arg1)\n|\tDescription for func2\n|\n| fun no_description()\n|\t[No Description]\n|\n\nHelp on object Test:\n\nclass Test\n|\n| property1 = \"Hello, World!\"\n|\n| fun __constructor__()\n|\t[No Description]\n|\n| fun func1(arg1, arg2)\n|\tDescription for func1\n|\n| fun func2(arg1)\n|\tDescription for func2\n|\n| fun no_description()\n|\t[No Description]\n|\n\nHelp on function standalone:\n\n| fun standalone(arg1, arg2)\n|\tThis is a standalone function\n|\n\n", "stderr": ""} \ No newline at end of file