fix: Avoid files that differ just by case #12

Merged
glen merged 1 commits from no_case_duplicates into main 2022-07-22 16:47:10 +00:00
6 changed files with 5 additions and 5 deletions
Showing only changes of commit 664f30ddef - Show all commits

View File

@ -1,4 +1,4 @@
import {numComplex} from './Complex.mjs' import {numComplex} from './types/Complex.mjs'
export const add = { export const add = {
'...Complex': [['self'], ref => addends => { '...Complex': [['self'], ref => addends => {

View File

@ -1,4 +1,4 @@
import './Complex.mjs' import './types/Complex.mjs'
export const complex = { export const complex = {
/* Very permissive for sake of proof-of-concept; would be better to /* Very permissive for sake of proof-of-concept; would be better to

View File

@ -1,4 +1,4 @@
import './Complex.mjs' import './types/Complex.mjs'
import * as complex from './complex.mjs' import * as complex from './complex.mjs'
/* Add all the complex implementations for functions already /* Add all the complex implementations for functions already

View File

@ -1,4 +1,4 @@
import {numComplex} from './Complex.mjs' import {numComplex} from './types/Complex.mjs'
export const negate = { export const negate = {
Complex: [['self'], ref => z => { Complex: [['self'], ref => z => {
/* need a "base case" to avoid infinite self-reference */ /* need a "base case" to avoid infinite self-reference */

View File

@ -5,7 +5,7 @@
inclusion, avoiding factory functions.', inclusion, avoiding factory functions.',
main: 'index.js', main: 'index.js',
scripts: { scripts: {
test: 'npx mocha', test: '!(find . | sort -f | uniq -i -c | grep -v " 1 ") && npx mocha',
}, },
repository: { repository: {
type: 'git', type: 'git',