Skip to content

Commit

Permalink
update: file namings for windows understanding
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarFourati committed Jan 9, 2024
1 parent c05dda8 commit b6480fe
Show file tree
Hide file tree
Showing 24 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ describe('Validation of CellRangeSelectorExecutor', () => {
});

it('should diagnose no error on valid selector', async () => {
const text = readJvTestAsset('valid-A1:C*.jv');
const text = readJvTestAsset('valid-A1-C*.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -102,9 +102,9 @@ describe('Validation of CellRangeSelectorExecutor', () => {
});

it('should diagnose no error on empty column', async () => {
const text = readJvTestAsset('valid-A1:C*.jv');
const text = readJvTestAsset('valid-A1-C*.jv');

const testWorkbook = await readTestWorkbook('test-B1:C2.xlsx');
const testWorkbook = await readTestWorkbook('test-B1-C2.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -124,9 +124,9 @@ describe('Validation of CellRangeSelectorExecutor', () => {
});

it('should diagnose error on selector out of bounds', async () => {
const text = readJvTestAsset('valid-A1:E4.jv');
const text = readJvTestAsset('valid-A1-E4.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -141,7 +141,7 @@ describe('Validation of CellRangeSelectorExecutor', () => {
});

it('should diagnose error on selector on empty sheet', async () => {
const text = readJvTestAsset('valid-A1:C*.jv');
const text = readJvTestAsset('valid-A1-C*.jv');

const testWorkbook = await readTestWorkbook('test-empty.xlsx');
const result = await parseAndExecuteExecutor(
Expand All @@ -158,7 +158,7 @@ describe('Validation of CellRangeSelectorExecutor', () => {
});

it('should diagnose error on single column selector on empty sheet', async () => {
const text = readJvTestAsset('valid-A1:A4.jv');
const text = readJvTestAsset('valid-A1-A4.jv');

const testWorkbook = await readTestWorkbook('test-empty.xlsx');
const result = await parseAndExecuteExecutor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Validation of CellWriterExecutor', () => {
it('should diagnose no error on valid single cell writer', async () => {
const text = readJvTestAsset('valid-single-cell-writer.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -104,7 +104,7 @@ describe('Validation of CellWriterExecutor', () => {
it('should diagnose no error on valid cell range writer', async () => {
const text = readJvTestAsset('valid-cell-range-writer.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Validation of ColumnDeleterExecutor', () => {
it('should diagnose no error on valid single column deleter', async () => {
const text = readJvTestAsset('valid-single-column-deleter.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -104,7 +104,7 @@ describe('Validation of ColumnDeleterExecutor', () => {
it('should diagnose no error on valid multiple column deleter', async () => {
const text = readJvTestAsset('valid-multiple-column-deleter.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -125,7 +125,7 @@ describe('Validation of ColumnDeleterExecutor', () => {
it('should diagnose error on deleting non existing column', async () => {
const text = readJvTestAsset('valid-multiple-column-deleter.jv');

const testWorkbook = await readTestWorkbook('test-A1:B2.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-B2.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -142,7 +142,7 @@ describe('Validation of ColumnDeleterExecutor', () => {
it('should diagnose only one column deletion on duplicate columns', async () => {
const text = readJvTestAsset('valid-duplicate-column.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Validation of RowDeleterExecutor', () => {
it('should diagnose no error on valid single row deleter', async () => {
const text = readJvTestAsset('valid-single-row-deleter.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -100,7 +100,7 @@ describe('Validation of RowDeleterExecutor', () => {
it('should diagnose no error on valid multiple row deleter', async () => {
const text = readJvTestAsset('valid-multiple-row-deleter.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -124,7 +124,7 @@ describe('Validation of RowDeleterExecutor', () => {
it('should diagnose error on deleting non existing row', async () => {
const text = readJvTestAsset('valid-multiple-row-deleter.jv');

const testWorkbook = await readTestWorkbook('test-A1:B2.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-B2.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand All @@ -141,7 +141,7 @@ describe('Validation of RowDeleterExecutor', () => {
it('should diagnose only one row deletion on duplicate rows', async () => {
const text = readJvTestAsset('valid-duplicate-row.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(
text,
testWorkbook.getSheetByName('Sheet1') as R.Sheet,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Validation of SheetPickerExecutor', () => {
it('should diagnose no error on valid workbook', async () => {
const text = readJvTestAsset('valid-sheet-picker.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(text, testWorkbook);

expect(R.isErr(result)).toEqual(false);
Expand All @@ -101,7 +101,7 @@ describe('Validation of SheetPickerExecutor', () => {
it('should diagnose error on sheet not found', async () => {
const text = readJvTestAsset('valid-custom-sheet-name.jv');

const testWorkbook = await readTestWorkbook('test-A1:C16.xlsx');
const testWorkbook = await readTestWorkbook('test-A1-C16.xlsx');
const result = await parseAndExecuteExecutor(text, testWorkbook);

expect(R.isOk(result)).toEqual(false);
Expand Down

0 comments on commit b6480fe

Please sign in to comment.