Project

General

Profile

Actions

Architecture #5448

closed

Add test to ensure that all generic_methods use normal ordering for promise types

Added by Jonathan CLARKE over 9 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

A good convention when writing CFEngine code is to always put the promises in a bundle in the normal ordering (vars, classes, etc). This makes it clear when a normal ordering problem can hit you (for example #5443).

Everything is test-based in ncf, so we should add a test in tests/style to check this. Benoît, I know you have written one for rudder-techniques, can you add/port it to ncf please?


Subtasks 1 (0 open1 closed)

Architecture #5901: Implementation of #5448 normal ordering testReleasedJonathan CLARKEActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5309: We need a script to check ordering in techniquesReleasedJonathan CLARKE2014-07-24Actions
Actions

Also available in: Atom PDF