Skip to content

Commit 4b2c993

Browse files
committed
fix: aws#2133
1 parent a908195 commit 4b2c993

File tree

1 file changed

+9
-0
lines changed
  • server/aws-lsp-codewhisperer/src/language-server/inline-completion/utils

1 file changed

+9
-0
lines changed

server/aws-lsp-codewhisperer/src/language-server/inline-completion/utils/diffUtils.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,15 @@ describe('categorizeUnifieddiffV2v2 should return correct type (addOnly, edit, d
233233
+ this.capacity = capacity;
234234
+ map = new HashMap<>();
235235
+ list = new DoubleLinkedList();
236+
+ }
237+
}`,
238+
},
239+
{
240+
udiff: `--- file:///Volumes/workplace/ide/sample_projects/Calculator-2/src/main/hello/MathUtil.java
241+
+++ file:///Volumes/workplace/ide/sample_projects/Calculator-2/src/main/hello/MathUtil.java
242+
@@ -6,7 +6,11 @@
243+
- return a * b;
244+
+ return a * b * c;
236245
+ }
237246
}`,
238247
},

0 commit comments

Comments
 (0)