Skip to content

Commit 84b97cd

Browse files
committed
node
1 parent 604e9a6 commit 84b97cd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

_articles/2020-09-20-never-use-sleep-in-test-code.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ Sometimes we can face a different approach, when we have to integrate a test fra
2828
As you can see, we have more efficient approaches for replacing `sleep` in the test code, and reduce execution time. I recommend you verify conditions multiple times and don't wait until the timeout is over.
2929

3030
Note: Many frameworks already have such functions.
31-

_layouts/node.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h1 style="font-size: 50px;">{{page.title}}</h1>
2222
{% for p in articles %}
2323

2424
{% assign k1 = p.categories.size %}
25-
{%- if p.layout == "common" -%}
25+
{%- if p.layout == "node" -%}
2626
{% assign k2 =i | plus: 2 %}
2727
{%- else -%}
2828
{% assign k2 =i | plus: 1 %}

0 commit comments

Comments
 (0)