Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding tests #25

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Adding tests #25

merged 2 commits into from
Aug 15, 2024

Conversation

JanProvaznik
Copy link
Owner

split buildTask test to theory
invalid json error test

split buildTask test to theory
invalid json error test
@JanProvaznik JanProvaznik changed the base branch from dev/janpro/docs-refactors to main August 12, 2024 16:44
@JanProvaznik JanProvaznik changed the base branch from main to dev/janpro/docs-refactors August 12, 2024 16:46
private void CreateLibRs(string topLevel, string execute, string getTaskInfo)
{
string contents = $@"
mod msbuild;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't it better to move it to some external assets and read the content from it?

{getTaskInfo}
}}
";
File.WriteAllText(Path.Combine(_testProjectPath, "src", "lib.rs"), contents);
Copy link
Collaborator

Choose a reason for hiding this comment

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

@JanProvaznik JanProvaznik marked this pull request as ready for review August 15, 2024 12:59
@JanProvaznik JanProvaznik merged commit d5dab70 into dev/janpro/docs-refactors Aug 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants