Skip to content

Commit 323f225

Browse files
committed
Unit testing for css
1 parent 0f6237a commit 323f225

File tree

5 files changed

+24
-13
lines changed

5 files changed

+24
-13
lines changed

css/markdown.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -728,10 +728,6 @@ hr {
728728
margin-bottom: 0;
729729
}
730730

731-
.markdown-body li {
732-
word-wrap: break-all;
733-
}
734-
735731
.markdown-body li>p {
736732
margin-top: 16px;
737733
}
@@ -843,7 +839,6 @@ pre.hljs.php,
843839

844840
.markdown-body pre code {
845841
display: inline;
846-
max-width: auto;
847842
padding: 0;
848843
margin: 0;
849844
overflow: visible;

css/styles.css

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/style.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ input::placeholder {
136136

137137
.draggable {
138138
cursor: pointer;
139-
cursor: hand;
140139
}
141140

142141
.ToFromList {

src/PHPFUI/InstaDoc/Section/CodeCommon.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@ protected function formatComments(?\phpDocumentor\Reflection\DocBlock $docBlock,
121121

122122
$container->add($ul);
123123
}
124-
else
125-
{
126-
$container->add('no tags<br>');
127-
}
128124

129125
return $container;
130126
}

tests/CSSTest.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the PHPFUI package
5+
*
6+
* (c) Bruce Wells
7+
*
8+
* For the full copyright and license information, please view
9+
* the LICENSE.md file that was distributed with this source
10+
* code
11+
*/
12+
class CSSTest extends \PHPFUI\HTMLUnitTester\Extensions
13+
{
14+
public function testValidCSS() : void
15+
{
16+
$this->assertDirectory('ValidCSS', __DIR__ . '/../css');
17+
}
18+
19+
public function testWarningCSS() : void
20+
{
21+
$this->assertDirectory('NotWarningCSS', __DIR__ . '/../css');
22+
}
23+
}

0 commit comments

Comments
 (0)