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

30 validate codesamples #38

Merged
merged 9 commits into from Sep 1, 2014
Merged

30 validate codesamples #38

merged 9 commits into from Sep 1, 2014

Conversation

madziaf
Copy link
Contributor

@madziaf madziaf commented Sep 1, 2014

created TestConverter and AtaruError

@@ -5,6 +5,18 @@ def self.run_test_for_file(file_name)
kramdown_doc = MarkdownLoader.load_file(file_name)
#pulling an array of codespans/code samples from markdown document
code_samples = Traverser.codespans(kramdown_doc)

code_samples = code_samples.map do |sample|
p sample
Copy link

Choose a reason for hiding this comment

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

Is the debug output here on purpose? If not, then it should be removed :)

nanoparsec pushed a commit that referenced this pull request Sep 1, 2014
@nanoparsec nanoparsec merged commit 55cba48 into master Sep 1, 2014
@nanoparsec
Copy link
Member

solves issues #30

@nanoparsec nanoparsec deleted the 30-validate-codesamples branch September 1, 2014 16:05
return [:warning, code_sample]
end

before_match = code_sample.match(/(.*) #=>/)
Copy link

Choose a reason for hiding this comment

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

Yay!

@moonglum
Copy link

moonglum commented Sep 2, 2014

Nice 👍

@nanoparsec nanoparsec mentioned this pull request Sep 2, 2014
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

4 participants