Skip to content

Commit 292787d

Browse files
committed
💚 update regression test
1 parent 47f8e4a commit 292787d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.moban.d/moban_readme.jj2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Given the following template type function, and saved in custom-plugin dir:
216216

217217

218218
@ContentProcessor("de-duplicate", "De-duplicating", "De-duplicated")
219-
def de_duplicate(content: str) -> str:
219+
def de_duplicate(content: str, options: dict) -> str:
220220
lines = content.split(b'\n')
221221
new_lines = []
222222
for line in lines:

tests/regression_tests/level-7-b-template-engine-plugin/custom-plugin/deduplicate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
@ContentProcessor("de-duplicate", "De-duplicating", "De-duplicated")
5-
def de_duplicate(content: str) -> str:
5+
def de_duplicate(content: str, _: dict) -> str:
66
"""
77
Does no templating, works like 'copy'.
88

0 commit comments

Comments
 (0)