Skip to content

Test restructure#74

Merged
lolleko merged 3 commits intomasterfrom
test-restructure
Mar 21, 2018
Merged

Test restructure#74
lolleko merged 3 commits intomasterfrom
test-restructure

Conversation

@lolleko
Copy link
Copy Markdown
Member

@lolleko lolleko commented Mar 18, 2018

No description provided.

@lolleko lolleko requested a review from Perryvw March 18, 2018 23:52
@lolleko lolleko mentioned this pull request Mar 19, 2018
Copy link
Copy Markdown
Member

@Perryvw Perryvw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, would say rename transformation dir to translationtests or something more descriptive.

@TestCases(files)
@Test("Transformation Tests")
public transformationTests(tsFile: string, luaFile:string) {
// Don't check error message because the yargs library messes the message up.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legacy comment, remove.

);

function BufferToTestString(b: Buffer): string {
return b.toString().trim().split("\r\n").join("\n")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe do the trick replacing all /\s+/ with space to make tests ignore different sizes whitespace.

@lolleko lolleko merged commit 816edd7 into master Mar 21, 2018
@lolleko lolleko deleted the test-restructure branch March 23, 2018 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants