Spelling tests (#10920)
This commit is contained in:
parent
faef38c806
commit
e95d085be6
|
@ -60,7 +60,7 @@ describe("fronius parsing for power chart", function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should return -100 for P_Akku", function () {
|
it("should return -100 for P_Akku", function () {
|
||||||
// it is unclear whether negative values are possible for p_akku (couln't test, nor any API docs found).
|
// it is unclear whether negative values are possible for p_akku (couldn't test, nor any API docs found).
|
||||||
site.P_Akku = -100;
|
site.P_Akku = -100;
|
||||||
var result = subject.parsePowerChart(service, site).dimensions[2];
|
var result = subject.parsePowerChart(service, site).dimensions[2];
|
||||||
|
|
||||||
|
|
|
@ -272,7 +272,7 @@ int health_variable_lookup(const char *variable, uint32_t hash, RRDCALC *rc, cal
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
if(argc != 2) {
|
if(argc != 2) {
|
||||||
fprintf(stderr, "I need an epxression (enclose it in single-quotes (') as a single parameter)\n");
|
fprintf(stderr, "I need an expression (enclose it in single-quotes (') as a single parameter)\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue