Skip to content

Commit

Permalink
test: try splitting with \n
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Jun 11, 2024
1 parent 8ac9b45 commit 7a5f3b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/nuts/retrieve/metadata.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import * as path from 'node:path';
import * as fs from 'node:fs';
import { fileURLToPath } from 'node:url';
import * as os from 'node:os';
import { execCmd } from '@salesforce/cli-plugins-testkit';
import { SourceTestkit } from '@salesforce/source-testkit';
import { expect } from 'chai';
Expand Down Expand Up @@ -69,7 +68,7 @@ describe('retrieve metadata NUTs', () => {
),
'utf8'
)
.split(os.EOL).length
.split('\n').length
// 4 lines would be overwritten - ensures like W-15896939 is fixed
).to.be.greaterThanOrEqual(30);
});
Expand Down

0 comments on commit 7a5f3b7

Please sign in to comment.