Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Dec 8, 2023
1 parent e4f8f78 commit 7bb872b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/expression/node/OperatorNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { getSafeProperty, isSafeMethod } from '../../utils/customs.js'
import { getAssociativity, getPrecedence, isAssociativeWith, properties } from '../operators.js'
import { latexOperators } from '../../utils/latex.js'
import { factory } from '../../utils/factory.js'
import { createSubScope } from '../../utils/scope.js'

const name = 'OperatorNode'
const dependencies = [
Expand Down
8 changes: 4 additions & 4 deletions test/unit-tests/expression/parse.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1474,7 +1474,7 @@ describe('parse', function () {
it('should parse bitwise and & lazily', function () {
const scope = {}
parseAndEval('(a=false) & (b=true)', scope)
assert.deepStrictEqual(scope, {a: false })
assert.deepStrictEqual(scope, { a: false })
})

it('should parse bitwise xor ^|', function () {
Expand Down Expand Up @@ -1502,7 +1502,7 @@ describe('parse', function () {
it('should parse bitwise or | lazily', function () {
const scope = {}
parseAndEval('(a=true) | (b=true)', scope)
assert.deepStrictEqual(scope, {a: true })
assert.deepStrictEqual(scope, { a: true })
})

it('should parse bitwise left shift <<', function () {
Expand Down Expand Up @@ -1535,7 +1535,7 @@ describe('parse', function () {
it('should parse logical and lazily', function () {
const scope = {}
parseAndEval('(a=false) and (b=true)', scope)
assert.deepStrictEqual(scope, {a: false })
assert.deepStrictEqual(scope, { a: false })
})

it('should parse logical xor', function () {
Expand Down Expand Up @@ -1563,7 +1563,7 @@ describe('parse', function () {
it('should parse logical or lazily', function () {
const scope = {}
parseAndEval('(a=true) or (b=true)', scope)
assert.deepStrictEqual(scope, {a: true })
assert.deepStrictEqual(scope, { a: true })
})

it('should parse logical not', function () {
Expand Down

0 comments on commit 7bb872b

Please sign in to comment.