Commit graph

21 commits

Author SHA1 Message Date
Rodrigo Fernandes
f08137f8ba
Improve branch coverage 2016-04-25 19:30:38 +01:00
Rodrigo Fernandes
2463cb0270
Add more tests to hogan templates 2016-04-25 17:53:54 +01:00
Rodrigo Fernandes
67ba95e5df
Add more tests to utils 2016-04-25 17:33:43 +01:00
Rodrigo Fernandes
4785c032a5
Add more tests for the diff2html api 2016-04-25 17:12:27 +01:00
Rodrigo Fernandes
e35b80a478
Add more tests for line by line diff generation 2016-04-25 16:51:27 +01:00
Rodrigo Fernandes
3fd5eb86bb
Fix parsing of line numbers 2016-04-25 16:20:40 +01:00
Rodrigo Fernandes
0261b30a26
Fix tests 2016-04-25 15:52:20 +01:00
Rodrigo Fernandes
374265354e
Add more tests and fix index parsing 2016-04-25 12:17:04 +01:00
Rodrigo Fernandes
465dde689a Fix repeated variable name in same scope (thanks Codacy) 2016-02-24 00:13:43 +00:00
Rodrigo Fernandes
e44b2a2885 Fix filename parsing with special characters and prefixes
* Add support for diffs with prefixes through configuration
* Fix parsing of filenames with special chars
2016-02-23 18:21:34 +00:00
Paulo Bu
e15cde2d6f Adds test for whitespaces and indentation and adds template for the wrapper 2016-02-21 11:05:53 +00:00
Paulo Bu
da2cd63a75 Attempt to use nunjuck templates in Line By Line 2016-02-21 11:05:53 +00:00
Rodrigo Fernandes
93dd322382 Add more eol tests for old os x and mixed eols 2016-02-07 12:47:00 +00:00
Rodrigo Fernandes
269a6268c4 Fix parsing on Windows
Replace windows EOL by Unix EOL
2016-02-06 18:50:47 +00:00
Rafael Cortês
f7bc1552e5 Fix line count when EOF is added to file
Removes '\\ No newline at end of file' information from the diff lines.
The test case is based on Bitbucket's diff attached to issue #49.
2016-01-16 21:53:54 +00:00
Paulo Bu
f6a9ecf450 Add tests to generateSingleLineHtml for SideBySide tests 2015-12-30 22:01:41 +01:00
Paulo Bu
97eafcd2f7 Add tests to generateLineHtml for LineByLine tests 2015-12-27 11:08:24 +01:00
Rodrigo Fernandes
f3d2946aa4 Force JSCS style 2015-12-23 19:34:39 +00:00
Rodrigo Fernandes
7244f07e0a Test html line prefixes 2015-12-23 16:05:30 +00:00
Paulo Bu
09d422be79 Adds simple tests for utils and diff2html 2015-12-23 14:14:29 +01:00
Rodrigo Fernandes
9e550c2b65 Start using mocha with istambul to test and setup circleci 2015-12-22 15:48:33 +00:00