Skip to content

Commit b5fc778

Browse files
committed
typos
1 parent 54179e6 commit b5fc778

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎src/ResponseValidator.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default class ResponseValidator {
8787
}
8888

8989
processClaims(response) {
90-
Log.info("ResponseValidator.processClaims, incoming claims");
90+
Log.info("ResponseValidator.processClaims");
9191

9292
response.profile = this.filterProtocolClaims(response.profile);
9393

@@ -114,6 +114,7 @@ export default class ResponseValidator {
114114
if (!Array.isArray(values)) {
115115
values = [values];
116116
}
117+
117118
for (let value of values) {
118119
if (!result[name]) {
119120
result[name] = value;
@@ -143,7 +144,7 @@ export default class ResponseValidator {
143144
Log.info("protocol claims filtered", result);
144145
}
145146
else {
146-
Log.info("protocol claims filtered")
147+
Log.info("protocol claims not filtered")
147148
}
148149

149150
return result;

‎test/ResponseValidator.spec.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ describe("ResponseValidator", function() {
328328

329329
});
330330

331-
it("should merge sample claim types into array", function() {
331+
it("should merge same claim types into array", function() {
332332

333333
var c1 = {a:'apple', b:'banana'};
334334
var c2 = {a:'carrot'};
@@ -338,7 +338,7 @@ describe("ResponseValidator", function() {
338338

339339
});
340340

341-
it("should merge arrays of sample claim types into array", function() {
341+
it("should merge arrays of same claim types into array", function() {
342342

343343
var c1 = {a:'apple', b:'banana'};
344344
var c2 = {a:['carrot', 'durian']};

0 commit comments

Comments
 (0)