Skip to content

Commit 25b91a6

Browse files
feat: change warning messages
1 parent 61d1d18 commit 25b91a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

csaf_2_1/recommendedTests/recommendedTest_6_2_40.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function recommendedTest_6_2_40(doc) {
9595
context.warnings.push({
9696
instancePath: `/document/notes/${noteIndex}`,
9797
message:
98-
'the given note item must include one of the elements "group_id" or "product_id"',
98+
'The given note item describes a product. Therefore, it must include one of the elements "group_id" or "product_id"',
9999
})
100100
}
101101
}
@@ -112,7 +112,7 @@ export function recommendedTest_6_2_40(doc) {
112112
context.infos.push({
113113
instancePath: `/document/notes/${noteIndex}`,
114114
message:
115-
'no language specific translation for the "title" of this note has been recorded',
115+
'no language specific translation for "product description" has been recorded',
116116
})
117117
return context
118118
}
@@ -121,7 +121,7 @@ export function recommendedTest_6_2_40(doc) {
121121
context.warnings.push({
122122
instancePath: `/document/notes/${noteIndex}`,
123123
message:
124-
'the given note item must include one of the elements "group_id" or "product_id"',
124+
'The given note item describes a product. Therefore, it must include one of the elements "group_id" or "product_id"',
125125
})
126126
}
127127
}

0 commit comments

Comments
 (0)