Skip to content

Commit

Permalink
Update file path
Browse files Browse the repository at this point in the history
  • Loading branch information
KavinduZoysa committed Nov 10, 2024
1 parent f2955c9 commit f1bb7d4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void test(Path config) throws IOException {
if (!fileNameEquality || !flowEquality) {
TestConfig updatedConfig = new TestConfig(testConfig.start(), testConfig.end(), testConfig.source(),
testConfig.description(), modifiedDiagram);
// updateConfig(configJsonPath, updatedConfig);
updateConfig(configJsonPath, updatedConfig);
compareJsonElements(modifiedDiagram, testConfig.diagram());
Assert.fail(String.format("Failed test: '%s' (%s)", testConfig.description(), configJsonPath));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"line": 21,
"offset": 1
},
"source": "windows test/if_node.bal",
"source": "windows test/source/test path/if_node_windows.bal",
"description": "Tests a simple diagram flow",
"diagram": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"nodes": [
{
"id": "47311",
Expand All @@ -20,7 +20,7 @@
"codedata": {
"node": "EVENT_START",
"lineRange": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"startLine": {
"line": 14,
"offset": 47
Expand All @@ -44,7 +44,7 @@
"codedata": {
"node": "IF",
"lineRange": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"startLine": {
"line": 15,
"offset": 8
Expand All @@ -64,7 +64,7 @@
"codedata": {
"node": "CONDITIONAL",
"lineRange": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"startLine": {
"line": 15,
"offset": 16
Expand Down Expand Up @@ -101,7 +101,7 @@
"codedata": {
"node": "VARIABLE",
"lineRange": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"startLine": {
"line": 16,
"offset": 12
Expand Down Expand Up @@ -160,7 +160,7 @@
"codedata": {
"node": "ELSE",
"lineRange": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"startLine": {
"line": 17,
"offset": 15
Expand All @@ -183,7 +183,7 @@
"codedata": {
"node": "VARIABLE",
"lineRange": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"startLine": {
"line": 18,
"offset": 12
Expand Down Expand Up @@ -243,7 +243,7 @@
"codedata": {
"node": "VARIABLE",
"lineRange": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"startLine": {
"line": 19,
"offset": 12
Expand Down Expand Up @@ -316,7 +316,7 @@
"symbol": "init",
"version": "2.12.2",
"lineRange": {
"fileName": "if_node.bal",
"fileName": "if_node_windows.bal",
"startLine": {
"line": 2,
"offset": 0
Expand Down

0 comments on commit f1bb7d4

Please sign in to comment.