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

Variable storing "Include" tags test cases #1324

Merged
merged 19 commits into from
Aug 13, 2020

Conversation

wxwxwxwx9
Copy link
Contributor

@wxwxwxwx9 wxwxwxwx9 commented Aug 13, 2020

What is the purpose of this pull request?
• [X] Other, please explain:
Adding new test case for #735

What is the rationale for this request?
Adding a new test case to ensure that "variable" in Markbind can store "include" tags and output the content in the "include" reference properly.

What changes did you make? (Give an overview)
I have added a small unit test case to ensure that "variable" in Markbind can store "include" tags and output the content in the "include" reference properly.

Is there anything you'd like reviewers to focus on?
NIL

Testing instructions:
npm run test

Proposed commit message: (wrap lines at 72 characters)
Add test case to check variable outputs include properly

There are currently no test cases to test the feature where "variable"
can store "include" tags and output the content properly.

Let's add this test case to test_site.

@wxwxwxwx9 wxwxwxwx9 changed the title [WIP] Variable include test cases Variable storing "Include" tags test cases Aug 13, 2020
Copy link
Contributor

@ang-zeyu ang-zeyu left a comment

Choose a reason for hiding this comment

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

thanks @wxwxwxwx9!

the puml png updates are a result of #1130, which we haven't found a way to workaround unfortunately. You can discard them as well (unless making changes to those png puml files)

packages/cli/test/functional/test_site/site.json Outdated Show resolved Hide resolved
packages/cli/package-lock.json Outdated Show resolved Hide resolved
@ang-zeyu
Copy link
Contributor

There are currently no test cases to test the feature where "variable"
can store "include" tags and output the content properly.

Let's add this test case to test_site.

Sorry, missed this out. Needs a commit message title (try to keep the title within 50 characters)
For small changes like this, a message body isn't necessary, but I'm fine if you want to include it as well :-)

A good read that @yamgent shared originally: https://chris.beams.io/posts/git-commit/

Copy link
Contributor

@ang-zeyu ang-zeyu 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 👍

@ang-zeyu ang-zeyu added this to the v2.15.3 milestone Aug 13, 2020
@ang-zeyu ang-zeyu merged commit 7b511eb into MarkBind:master Aug 13, 2020
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.

None yet

2 participants