Skip to content

Commit

Permalink
[Lara-JS] Fixes more errors related to the use of JavaTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
joaobispo committed Aug 8, 2024
1 parent b405eeb commit 7764917
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Lara-JS/src-api/lara/Check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ export default class Check {
*/
static strings(currentString: string, expectedString: string) {
// Normalize both strings
currentString = JavaTypes.SpecsStrings().normalizeFileContents(
currentString = JavaTypes.SpecsStrings.normalizeFileContents(
currentString,
true
);
expectedString = JavaTypes.SpecsStrings().normalizeFileContents(
expectedString = JavaTypes.SpecsStrings.normalizeFileContents(
expectedString,
true
);
Expand All @@ -149,7 +149,7 @@ export default class Check {
* @param revised - The revised text
*/
static diff(original: string, revised: string) {
return JavaTypes.Diff().Diff(original, revised);
return JavaTypes.Diff.getDiff(original, revised);
}

/**
Expand Down
6 changes: 3 additions & 3 deletions LaraApi/src-lara/lara/Check.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7764917

Please sign in to comment.